ODFieldDefs.Add method

AutoCAD Map 3D ActiveX

ODFieldDefs.Add method

Adds a field definition.

Add( _
 FieldName As String, _
 FieldDescription As String, _
 DefaultValue As Variant, _
 Index As Long _
 ) As ODFieldDef

Returns a copy of the field you added.

FieldName

Field name.

FieldDescription

Field description.

DefaultValue

Default field value.

Index

The index, starting at 0, where the field is inserted. Existing fields at that index and higher move up.