Delen via


ContentIndexerQuery Class

Definition

Represents a query for content properties in the ContentIndexer.

public ref class ContentIndexerQuery sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContentIndexerQuery final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentIndexerQuery
Public NotInheritable Class ContentIndexerQuery
Inheritance
Object Platform::Object IInspectable ContentIndexerQuery
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

QueryFolder

Gets the StorageFolder representation of the app-provided items in the ContentIndexer query.

Methods

GetAsync()

Runs the query on the app's indexed content properties.

GetAsync(UInt32, UInt32)

Runs the query on the app's indexed content properties and returns the specified number of items from the specified start index in the results collection.

GetCountAsync()

Gets the number of items in the search results.

GetPropertiesAsync()

Retrieves a collection of property sets for an app, where the property sets are key-value pairs.

GetPropertiesAsync(UInt32, UInt32)

Runs the query on the app's indexed content properties and returns the specified number of properties from the specified start index in the results collection.

Applies to

See also