MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgNullableProperty Class Reference

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

+ Inheritance diagram for MgNullableProperty:

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.