แชร์ผ่าน


StorageProviderQueryResultSet Class

Definition

The class that the storage provider uses to return the set of search results.

public ref class StorageProviderQueryResultSet sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Storage.Provider.IStorageProviderQueryResultSetFactory, 458752, "Windows.Storage.Provider.CloudFilesContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageProviderQueryResultSet final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Storage.Provider.IStorageProviderQueryResultSetFactory), 458752, "Windows.Storage.Provider.CloudFilesContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorageProviderQueryResultSet
function StorageProviderQueryResultSet(results)
Public NotInheritable Class StorageProviderQueryResultSet
Inheritance
Object Platform::Object IInspectable StorageProviderQueryResultSet
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

Any errors will be returned in the Status field.

Constructors

StorageProviderQueryResultSet(IStorageProviderQueryResult[])

Creates a new instance of the StorageProviderQueryResultSet class.

Properties

QueryResultId

Gets or sets the unique identifier for the search query result. This is a telemetry ID provided by the caller that allows the request to be tracked across the client and service for reliability purposes.

Status

The status of the search operation.

Methods

GetResults()

Returns the query results as an array of IStorageProviderQueryResult objects.

Applies to