ContentIndexerQuery class

ContentIndexerQuery class

Represents a query for content properties in the ContentIndexer.

Syntax


var contentIndexerQuery = createQuery(string, iIterable(String));
var contentIndexerQuery = createQuery(string, iIterable(String));
var contentIndexerQuery = createQuery(string, iIterable(String));

Members

The ContentIndexerQuery class has these types of members:

Methods

The ContentIndexerQuery class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
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.

 

Properties

The ContentIndexerQuery class has these properties.

PropertyAccess typeDescription

QueryFolder

Read-only

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

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.Search
Windows::Storage::Search [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows 10 Mobile

Namespace

Windows.Storage.Search
Windows::Storage::Search [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06030000)]

See also

CreateQuery(String, IIterable(String), IIterable(SortEntry), String)
CreateQuery(String, IIterable(String), IIterable(SortEntry))
CreateQuery(String, IIterable(String))
Object
Content indexer sample (Windows 10)

 

 

Show:
© 2016 Microsoft