SemanticTextQuery.FindInProperty(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns segments of a source string that match the SemanticTextQuery object's query over properties.
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)
Parameters
- propertyContent
-
String
Platform::String
winrt::hstring
A source string to be queried.
- propertyName
-
String
Platform::String
winrt::hstring
The name of the property.
Returns
A collection of TextSegment structures that represent hits from the query.