다음을 통해 공유


StorageFileQueryResult.GetMatchingPropertiesWithRanges(StorageFile) 메서드

정의

해당 텍스트 범위와 일치하는 파일 속성을 가져옵니다.

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

매개 변수

file
StorageFile

속성을 쿼리할 파일입니다.

반환

일치하는 속성 및 해당 텍스트 범위입니다.

설명

이 메서드를 사용하여 앱의 쿼리 결과에서 적중 항목 강조 표시를 구현합니다.

적용 대상