다음을 통해 공유


SemanticTextQuery.FindInProperty(String, String) 메서드

정의

속성에 대한 SemanticTextQuery 개체의 쿼리와 일치하는 원본 문자열의 세그먼트를 반환합니다.

public:
 virtual IVectorView<TextSegment> ^ FindInProperty(Platform::String ^ propertyContent, Platform::String ^ propertyName) = FindInProperty;
IVectorView<TextSegment> FindInProperty(winrt::hstring const& propertyContent, winrt::hstring const& propertyName);
public IReadOnlyList<TextSegment> FindInProperty(string propertyContent, string propertyName);
function findInProperty(propertyContent, propertyName)
Public Function FindInProperty (propertyContent As String, propertyName As String) As IReadOnlyList(Of TextSegment)

매개 변수

propertyContent
String

Platform::String

winrt::hstring

쿼리할 원본 문자열입니다.

propertyName
String

Platform::String

winrt::hstring

속성의 이름입니다.

반환

쿼리의 적중을 나타내는 TextSegment 구조체의 컬렉션입니다.

적용 대상

추가 정보