共用方式為


IStorageProviderSearchHandlerFactory.CreateSearchHandler(String) Method

Definition

Creates a search handler for a given sync root identifier.

public:
 IStorageProviderSearchHandler ^ CreateSearchHandler(Platform::String ^ cloudProviderId);
IStorageProviderSearchHandler CreateSearchHandler(winrt::hstring const& cloudProviderId);
public IStorageProviderSearchHandler CreateSearchHandler(string cloudProviderId);
function createSearchHandler(cloudProviderId)
Public Function CreateSearchHandler (cloudProviderId As String) As IStorageProviderSearchHandler

Parameters

cloudProviderId
String

Platform::String

winrt::hstring

The sync root identifier for the cloud files provider, see SyncRootId.

Returns

Returns a search handler that can be used to search for files and folders in the cloud files provider.

Applies to