FilterStringRule(FilterableValueProvider, FilterStringRuleEvaluator, String, Boolean)
Description:
Constructs an instance of FilterStringRule.
Constructs an instance of FilterStringRule.
Overloads (2):
FilterStringRule(FilterableValueProvider,FilterStringRuleEvaluator,String,Boolean)
[ObsoleteAttribute("This method is deprecated in Revit 2022 and may be removed in a future version of Revit. Please use the constructor without the `caseSensitive` argument instead.")]
public FilterStringRule(
FilterableValueProvider valueProvider,
FilterStringRuleEvaluator evaluator,
string ruleString,
bool caseSensitive
)
-
valueProviderA pointer to a "value provider" object that will extract values from a Revit document.
-
evaluatorA pointer to the filter rule evaluator object that implements the desired test. The built-in evaluators implement commonly used tests for strings such as begins-with, ends-with, contains, equal, etc.
-
StringruleStringThe user-supplied string against which strings from a Revit document will be tested.
-
BooleancaseSensitiveIf true, string comparisons will be done case-sensitively.
-
A non-optional argument was null