Share via


ContentIndexer.DeleteAsync(String) Method

Definition

Removes the specified app-defined item from the ContentIndexer.

public:
 virtual IAsyncAction ^ DeleteAsync(Platform::String ^ contentId) = DeleteAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DeleteAsync(winrt::hstring const& contentId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DeleteAsync(string contentId);
function deleteAsync(contentId)
Public Function DeleteAsync (contentId As String) As IAsyncAction

Parameters

contentId
String

Platform::String

winrt::hstring

The identifier of the item to remove.

Returns

Attributes

Applies to

See also