DBObjectSetField(String, Field) Method

Sets the specified field for the specified property.

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public ObjectId SetField(
        string propertyName,
        Field field
)

Parameters

propertyName  String
[in] Property name for which to set the field.
field  Field
[in] Field to set.

Return Value

ObjectId
Remarks
If the field is not stored in a database, it is added to the database. If the field is in database, it should be opened in the ForWrite mode.
See Also

©  Bricsys NV. All rights reserved.