ContentIndexerQuery class

Applies to Windows only

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));

Attributes

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

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-onlyGets the StorageFolder representation of the app-provided items in the ContentIndexer query.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

CreateQuery(String, IIterable(String), IIterable(SortEntry), String)
CreateQuery(String, IIterable(String), IIterable(SortEntry))
CreateQuery(String, IIterable(String))
Object

 

 

Show:
© 2014 Microsoft