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 構造体のコレクション。

適用対象

こちらもご覧ください