Description
A field can be stored in an object using the property name as the key. If the field is not yet posted to the database, it will be posted to the database. If the field is already in database, it should be opened for write. After calling this method, the field object must be closed.
Visual Basic
Public Function SetField( field As [CallerMustClose] Field ) As Autodesk.AutoCAD.DatabaseServices.ObjectId
C#
public Autodesk.AutoCAD.DatabaseServices.ObjectId SetField( [CallerMustClose] Field field );
Parameters
Parameters | Description |
---|---|
[CallerMustClose] Field field | Field to set |