StorageFileQueryResult.GetMatchingPropertiesWithRanges | getMatchingPropertiesWithRanges method

Applies to Windows only

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

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

StorageFileQueryResult

 

 

Show:
© 2014 Microsoft