ContentIndexerQuery.GetPropertiesAsync 方法

定义

重载

GetPropertiesAsync()

检索应用的属性集集合,其中属性集是键值对。

GetPropertiesAsync(UInt32, UInt32)

对应用的索引内容属性运行查询,并从结果集合中的指定开始索引返回指定数目的属性。

GetPropertiesAsync()

检索应用的属性集集合,其中属性集是键值对。

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

返回

此方法完成后,它将查询结果作为 PropertyValue 实例的集合返回。

属性

另请参阅

适用于

GetPropertiesAsync(UInt32, UInt32)

对应用的索引内容属性运行查询,并从结果集合中的指定开始索引返回指定数目的属性。

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

参数

startIndex
UInt32

unsigned int

uint32_t

要从结果集合中获取的第一项的索引。

maxItems
UInt32

unsigned int

uint32_t

要获取的最大项数。

返回

此方法完成后,它将查询结果作为 PropertyValue 实例的集合返回。

属性

注解

指定 startIndexmaxItems 对于搜索结果的虚拟化或分页访问很有用。

另请参阅

适用于