Delen via


IStorageProviderSearchHandler Interface

Definition

This interface is implemented by a cloud files provider to enable the system to search for files and folders in the provider's sync root.

public interface class IStorageProviderSearchHandler
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 458752)]
/// [Windows.Foundation.Metadata.Guid(1775015805, 44461, 22985, 143, 209, 243, 11, 111, 174, 15, 217)]
struct IStorageProviderSearchHandler
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 458752)]
[Windows.Foundation.Metadata.Guid(1775015805, 44461, 22985, 143, 209, 243, 11, 111, 174, 15, 217)]
public interface IStorageProviderSearchHandler
Public Interface IStorageProviderSearchHandler
Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Storage.Provider.CloudFilesContract (introduced in v7.0)

Remarks

The search operation runs in the cloud files provider process.

Methods

Find(StorageProviderSearchQueryOptions)

Executes the query given the parameters in the option object and returns a result set.

ReportUsage(StorageProviderResultUsageKind, String, String, TimeSpan)

This method is called by the UI to report usage of search result when the file is launched.

Applies to