Jaa


StorageFileQueryResult.GetMatchingPropertiesWithRanges(StorageFile) Method

Definition

Gets matching file properties with corresponding text ranges.

public:
 virtual IMap<Platform::String ^, IVectorView<TextSegment> ^> ^ GetMatchingPropertiesWithRanges(StorageFile ^ file) = GetMatchingPropertiesWithRanges;
IMap<winrt::hstring, IVectorView<TextSegment> const&> GetMatchingPropertiesWithRanges(StorageFile const& file);
public IDictionary<string,IReadOnlyList<TextSegment>> GetMatchingPropertiesWithRanges(StorageFile file);
function getMatchingPropertiesWithRanges(file)
Public Function GetMatchingPropertiesWithRanges (file As StorageFile) As IDictionary(Of String, IReadOnlyList(Of TextSegment))

Parameters

file
StorageFile

The file to query for properties.

Returns

The matched properties and corresponding text ranges.

Remarks

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

Applies to