MGDwgDataSources.KeyColumnType   Go to object model Go to parent topic Go to previous topic Go to next topic

Description

Gets or sets the DWG key column data type.

If this property is modified successfully, it automatically sets the layer's rebuild flag to True. See Rebuild for details.

Values can be: Boolean, Byte, Date, Decimal, Double, Float, Integer, Numeric, SmallInt, String, Time, TimeStamp, UnsignedByte, UnsignedInteger, and UnsignedSmallInt.

We recommend that you do not use Floatand Double types because of the inherent inaccuracies in comparing them.

Note that for write operations, this property does not work during a busy state. For additional information, refer to "Handling Busy State and Map Refresh" chapter in the Autodesk MapGuide Developer's Guide.

Type

String (read/write). This property is not case-sensitive.

Error Codes

-1 (busy): For write operations only.

-3 (illegal argument)

See Also

getKeyColumnType, setKeyColumnType