Delen via


ContentIndexerQuery.GetPropertiesAsync Method

Definition

Overloads

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.

GetPropertiesAsync()

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

public:
 virtual IAsyncOperation<IVectorView<IMapView<Platform::String ^, Platform::Object ^> ^> ^> ^ GetPropertiesAsync() = GetPropertiesAsync;
/// [Windows.Foundation.Metadata.Overload("GetPropertiesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<IMapView<winrt::hstring, IInspectable const&>>> GetPropertiesAsync();
[Windows.Foundation.Metadata.Overload("GetPropertiesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<IReadOnlyDictionary<string,object>>> GetPropertiesAsync();
function getPropertiesAsync()
Public Function GetPropertiesAsync () As IAsyncOperation(Of IReadOnlyList(Of IReadOnlyDictionary(Of String, Object)))

Returns

When this method completes, it returns the query results as a collection of PropertyValue instances.

Attributes

See also

Applies to

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.

public:
 virtual IAsyncOperation<IVectorView<IMapView<Platform::String ^, Platform::Object ^> ^> ^> ^ GetPropertiesAsync(unsigned int startIndex, unsigned int maxItems) = GetPropertiesAsync;
/// [Windows.Foundation.Metadata.Overload("GetPropertiesRangeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<IMapView<winrt::hstring, IInspectable const&>>> GetPropertiesAsync(uint32_t const& startIndex, uint32_t const& maxItems);
[Windows.Foundation.Metadata.Overload("GetPropertiesRangeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<IReadOnlyDictionary<string,object>>> GetPropertiesAsync(uint startIndex, uint maxItems);
function getPropertiesAsync(startIndex, maxItems)
Public Function GetPropertiesAsync (startIndex As UInteger, maxItems As UInteger) As IAsyncOperation(Of IReadOnlyList(Of IReadOnlyDictionary(Of String, Object)))

Parameters

startIndex
UInt32

unsigned int

uint32_t

The index of the first item to get from the results collection.

maxItems
UInt32

unsigned int

uint32_t

The maximum number of items to get.

Returns

When this method completes, it returns the query results as a collection of PropertyValue instances.

Attributes

Remarks

Specifying startIndex and maxItems is useful for virtualization or paginated access of search results.

See also

Applies to