constructs an instance of HasValueFilterRule. 
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2020 
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Parameters
- parameter
- Type: Autodesk.Revit.DBElementId
 The parameter that an element must have a value for to pass this rule.
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |