Bagikan melalui


SemanticTextQuery.FindInProperty(String, String) Metode

Definisi

Mengembalikan segmen string sumber yang cocok dengan kueri objek SemanticTextQuery atas properti.

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)

Parameter

propertyContent
String

Platform::String

winrt::hstring

String sumber yang akan dikueri.

propertyName
String

Platform::String

winrt::hstring

Nama properti.

Mengembalikan

Kumpulan struktur TextSegment yang mewakili hit dari kueri.

Berlaku untuk

Lihat juga