StorageFileQueryResult.GetMatchingPropertiesWithRanges | getMatchingPropertiesWithRanges method

[This documentation is preliminary and is subject to change.]

Gets matching file properties with corresponding text ranges.

Syntax


var iMap = storageFileQueryResult.getMatchingPropertiesWithRanges(file);

Parameters

file

Type: StorageFile

The file to query for properties.

Return value

Type: IMap<String, IVectorView> [JavaScript/C++] | System.Collections.Generic.IDictionary<String, IVectorView> [.NET]

The matched properties and corresponding text ranges.

Remarks

Use the GetMatchingPropertiesWithRanges method to implement hit highlighting in your app's query results.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows 10 Technical Preview for phones

Namespace

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

Metadata

Windows.winmd

See also

StorageFileQueryResult

 

 

Show:
© 2015 Microsoft