Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgNullableProperty Class Reference
[MgNullableProperty]

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. More...

Inherits MgProperty.

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

List of all members.

## 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.

## 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.

Comments or suggestions? Send us feedback.