Checks that the measurement type enumeration value is valid
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2013
Syntax
| C# |
|---|
public bool IsValidMeasurementType( DividedPathMeasurementType measurementType ) |
| Visual Basic |
|---|
Public Function IsValidMeasurementType ( _ measurementType As DividedPathMeasurementType _ ) As Boolean |
| Visual C++ |
|---|
public: bool IsValidMeasurementType( DividedPathMeasurementType measurementType ) |
Parameters
- measurementType
- Type: Autodesk.Revit.DB..::..DividedPathMeasurementType
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |