Share via


SemanticTextQuery.Find(String) Method

Definition

Returns segments of a source string that match the SemanticTextQuery object's query.

public:
 virtual IVectorView<TextSegment> ^ Find(Platform::String ^ content) = Find;
IVectorView<TextSegment> Find(winrt::hstring const& content);
public IReadOnlyList<TextSegment> Find(string content);
function find(content)
Public Function Find (content As String) As IReadOnlyList(Of TextSegment)

Parameters

content
String

Platform::String

winrt::hstring

A source string to be queried.

Returns

A collection of TextSegment structures that represent hits from the query.

Applies to

See also