Share via


PropertiesTextContainsFilterRule Class

Definition

Represents a filter rule that searches for text within properties on an object.

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

Constructors

PropertiesTextContainsFilterRule()

Initializes a new instance of the PropertiesTextContainsFilterRule 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>)
PropertyNames

Gets a collection of the names of properties to search in.

Value

Gets a value that holds user input.

(Inherited from SingleValueComparableValueFilterRule<T>)

Methods

Evaluate(Object)

Evaluates whether the specified properties on item contain the current value.

Evaluate(String)

Evaluates whether the specified data contains the current 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)
OnEvaluationResultInvalidated()

Called when the evaluation result is invalidated. Updates the cached Regex pattern.

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