Skip to main content
Removes one device metadata property. Introduced in: RIT 0.0.14-preview.

Syntax

Parameters

remoteDevice
Type: const char*
The saved device name or IP address, encoded as UTF-8. This operation acts on the current user’s local catalog. metadataNamespace
Type: const char*
The UTF-8 application-owned namespace name. An empty string selects the built-in namespace where supported. propertyName
Type: const char*
The UTF-8 property name.

Return value

Type: HRESULT Returns S_OK on success; otherwise returns a failure HRESULT. Catalog operations also return catalog-specific errors described in Error codes.

Remarks

Removing an absent device, namespace, or property succeeds. In the built-in namespace, only publicKeyHash can be removed. Saved-device APIs and pairing-ID APIs change different local stores. They don’t replace the explicit remoteDevice argument of a remote API call; callers that want default selection must resolve it themselves.

Requirements

See also

Last modified on November 25, 2026