TextEqualsFilterRule Class

Definition

The TextEqualsFilterRule class evaluates a string item to check if it is equal to the rule's value.

public ref class TextEqualsFilterRule : Microsoft::Management::UI::Internal::TextFilterRule
[Windows::Foundation::Metadata::WebHostHidden]
class TextEqualsFilterRule : Microsoft::Management::UI::Internal::TextFilterRule
[System.Serializable]
public class TextEqualsFilterRule : Microsoft.Management.UI.Internal.TextFilterRule
[<System.Serializable>]
type TextEqualsFilterRule = class
    inherit TextFilterRule
Public Class TextEqualsFilterRule
Inherits TextFilterRule
Inheritance
Derived
Attributes

Constructors

TextEqualsFilterRule()

Initializes a new instance of the TextEqualsFilterRule class.

Properties

CultureInvariant

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

(Inherited from TextFilterRule)
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.

(Inherited from TextFilterRule)
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(String)

Determines if data is equal to Value.

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.

(Inherited from TextFilterRule)
GetParsedValue(Boolean)

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

(Inherited from TextFilterRule)
GetRegexOptions()

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

(Inherited from TextFilterRule)
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.

(Inherited from TextFilterRule)
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