Bagikan melalui


StorageFileQueryResult.GetMatchingPropertiesWithRanges(StorageFile) Metode

Definisi

Mendapatkan properti file yang cocok dengan rentang teks terkait.

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

Parameter

file
StorageFile

File yang akan dikueri untuk properti.

Mengembalikan

Properti yang cocok dan rentang teks terkait.

Keterangan

Gunakan metode ini untuk menerapkan penyorotan klik di hasil kueri aplikasi Anda.

Berlaku untuk