Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IStorageProviderSearchHandler Interface

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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.

Note

Cloud files search is supported in Windows 11, version 24H2 and later on Copilot+ PCs or AI-enabled Cloud PCs.

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

Requirements Description
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

Name Description
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


Feedback

Was this page helpful?