Delen via


IStorageQueryResultBase.FindStartIndexAsync(Object) Method

Definition

Retrieves the index of the file from the query results that most closely matches the specified property value. The property that is matched is determined by the first SortEntry of the QueryOptions.SortOrder list.

public:
 IAsyncOperation<unsigned int> ^ FindStartIndexAsync(Platform::Object ^ value);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<uint32_t> FindStartIndexAsync(IInspectable const& value);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<uint> FindStartIndexAsync(object value);
function findStartIndexAsync(value)
Public Function FindStartIndexAsync (value As Object) As IAsyncOperation(Of UInteger)

Parameters

value
Object

Platform::Object

IInspectable

The property value to match when searching the query results.

Returns

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation<unsigned int>

IAsyncOperation<uint32_t>

When this method completes successfully it returns the index of the matched item in the query results.

Attributes

Remarks

You can use this index in conjunction with Semantic Zoom to determine where the page should be zoomed in after the user selects the Semantic Zoom control.

Applies to