Gets the name of the field.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public string GetName( Document document )
Parameters
- document Document
- The document in which the field will be used.
Return Value
StringThe name of the field.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The parameter doesn't exist in document. |
