AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgNullableProperty Class Reference
[MgNullableProperty]

Inherits MgProperty.

Inherited by MgBlobProperty, MgBooleanProperty, MgByteProperty, MgClobProperty, MgDateTimeProperty, MgDoubleProperty, MgFeatureProperty, MgGeometryProperty, MgInt16Property, MgInt32Property, MgInt64Property, MgRasterProperty, MgSingleProperty, and MgStringProperty.

List of all members.


Detailed Description

This is the base class for all properties which can have NULL values. If a property value is NULL, there is no value, and a call to the GetValue() method throws an exception.

Public Member Functions

bool IsNull ()
 Determines whether the GetValue and SetValue methods are enabled.
void SetNull (bool bIsNull)
 If set to true, disables the getting and setting of the property's value. It does not remove any existing value. Attempting to get or set the value causes an MgNullPropertyValueException. If set to false, reenables the getting and setting of the property's values.