FilterStringRule
Constructor
Description:
Constructs an instance of FilterStringRule.
Constructs an instance of FilterStringRule.
Syntax
public FilterStringRule(
FilterableValueProvider valueProvider,
FilterStringRuleEvaluator evaluator,
string ruleString
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| valueProvider | FilterableValueProvider | A pointer to a "value provider" object that will extract values from a Revit document. |
| evaluator | FilterStringRuleEvaluator | A 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. |
| ruleString | String | The user-supplied string against which strings from a Revit document will be tested. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |