Share via


SearchTextParser Class

Definition

Provides functionality for parsing search text.

public ref class SearchTextParser
[Windows::Foundation::Metadata::WebHostHidden]
class SearchTextParser
public class SearchTextParser
type SearchTextParser = class
Public Class SearchTextParser
Inheritance
SearchTextParser

Constructors

SearchTextParser()

Initializes a new instance of SearchTextParser.

Fields

FullTextRuleGroupName

Gets the group name of the full-text search pattern.

ValueGroupName

Gets the group name of the value search pattern.

ValuePattern

Gets the search pattern used for values.

Properties

FullTextRule

Gets or sets the full-text rule for searching.

SearchableRules

Gets a list of the searchable rules.

Methods

ClearSearchableRules()

Removes the searchable rules, including the full-text rule.

GetPattern()

Gets a regular expression pattern used to parse the search text.

Parse(String)

Parses the specified text and returns a read-only collection of results.

TryAddSearchableRule<T>(SelectorFilterRule)

Allows the specified rule to be included in the search expression. The rule must have an available rule of type T that will be set with the search value.

Applies to