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( Field field )
Parameters
- field Field
- The field to clear.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The Field belongs to a different Schema from this Entity, or this Entity is invalid. -or- This field's subschema prevents writing. |
| ArgumentNullException | A non-optional argument was null |
