|
|
Copies & adds in the field to the builder's internal collection.
Namespace: Autodesk.Navisworks.Api.Schema
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub AddField ( _ field As Field _ ) |
| C# |
|---|
public void AddField( Field field ) |
| Visual C++ |
|---|
public: void AddField( Field^ field ) |
Parameters
- field
- Type: Autodesk.Navisworks.Api.Schema..::..Field
Remarks
Note that the copy means that subsequent modification of the argument will be ignored.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | Provided field ID is invalid or missing. 7-bit ASCII without spaces must be used. |
| System..::..ArgumentException | Provided field ID is already in use. |
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| System..::..ArgumentNullException | Argument 'field' is null |
| System..::..ArgumentException | Argument 'field' has been Disposed |