Share via


TextFilterRule Class

Definition

The TextFilterRule class supports derived rules by offering services for evaluating string operations.

public ref class TextFilterRule abstract : Microsoft::Management::UI::Internal::SingleValueComparableValueFilterRule<System::String ^>
[Windows::Foundation::Metadata::WebHostHidden]
public ref class TextFilterRule abstract : Microsoft::Management::UI::Internal::SingleValueComparableValueFilterRule<Platform::String ^>
[Windows::Foundation::Metadata::WebHostHidden]
class TextFilterRule abstract : Microsoft::Management::UI::Internal::SingleValueComparableValueFilterRule<std::wstring>
[System.Serializable]
public abstract class TextFilterRule : Microsoft.Management.UI.Internal.SingleValueComparableValueFilterRule<string>
[<System.Serializable>]
type TextFilterRule = class
    inherit SingleValueComparableValueFilterRule<string>
Public MustInherit Class TextFilterRule
Inherits SingleValueComparableValueFilterRule(Of String)
Inheritance
Derived
Attributes

Constructors

TextFilterRule()

Initializes a new instance of the TextFilterRule class.

Fields

WordBoundaryRegexPattern

Gets a regex pattern that describes a word boundary that can include symbols.

Properties

CultureInvariant

Gets or sets whether culture differences in language are ignored when evaluating.

DefaultNullValueEvaluation

Gets or sets a value indicating whether null objects passed to Evaluate will evaluate to true or false.

(Inherited from ComparableValueFilterRule<T>)
DisplayName

Gets a display friendly name for the FilterRule.

(Inherited from FilterRule)
IgnoreCase

Gets or sets whether to ignore case when evaluating.

IsValid

Gets a value indicating whether the FilterRule can be evaluated in its current state.

(Inherited from SingleValueComparableValueFilterRule<T>)
Value

Gets a value that holds user input.

(Inherited from SingleValueComparableValueFilterRule<T>)

Methods

Evaluate(Object)

Determines if item matches a derived classes criteria.

(Inherited from ComparableValueFilterRule<T>)
Evaluate(T)

Determines if item matches a derived classes criteria.

(Inherited from ComparableValueFilterRule<T>)
ExactMatchEvaluate(String, String, String)

Gets a value indicating whether the specified data matches one of the specified patterns. If the current value is an exact-match string, exactMatchPattern will be used; otherwise, pattern will be used.

GetParsedValue(Boolean)

Gets the current value and determines whether it should be evaluated as an exact match.

GetRegexOptions()

Gets a RegexOptions object that matches the values of IgnoreCase and CultureInvariant.

GetRegexPattern(String, String)

Gets a regular expression pattern based on the current value and the specified patterns. If the current value is an exact-match string, exactMatchPattern will be used; otherwise, pattern will be used.

NotifyEvaluationResultInvalidated()

Fires EvaluationResultInvalidated.

(Inherited from FilterRule)

Events

EvaluationResultInvalidated

Occurs when the values of this rule changes.

(Inherited from FilterRule)

Extension Methods

DeepCopy(FilterRule)

Creates a deep copy of a FilterRule.

Applies to