Resets the field to its default value.
Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void Clear( string fieldName )
Parameters
- fieldName String
- The name of the field to clear.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The name matches no field in this Entity's Schema. -or- This field's subschema prevents writing. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | This Entity is invalid. |
