TextContainsFilterRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The TextContainsFilterRule class evaluates a string item to check if it is contains the rule's value within it.
public ref class TextContainsFilterRule : Microsoft::Management::UI::Internal::TextFilterRule
[Windows::Foundation::Metadata::WebHostHidden]
class TextContainsFilterRule : Microsoft::Management::UI::Internal::TextFilterRule
[System.Serializable]
public class TextContainsFilterRule : Microsoft.Management.UI.Internal.TextFilterRule
[<System.Serializable>]
type TextContainsFilterRule = class
inherit TextFilterRule
Public Class TextContainsFilterRule
Inherits TextFilterRule
- Inheritance
-
TextContainsFilterRule
- Derived
- Attributes
Constructors
TextContainsFilterRule() |
Initializes a new instance of the TextContainsFilterRule 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 Value is contained within data. |
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, |
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, |
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. |