Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# Feature Properties

## Modules
| MgFeaturePropertyType
| MgNullableProperty
| MgProperty
| MgPropertyType
| MgStringProperty
| MgBlobProperty
| MgBooleanProperty
| MgByteProperty
| MgClobProperty
| MgDateTimeProperty
| MgDoubleProperty
| MgInt16Property
| MgInt32Property
| MgInt64Property
| MgSingleProperty
| MgGeometryProperty
| MgRasterProperty

## Detailed Description

A feature property is a key-value pair where the key is a property name as defined in a feature class definition, and the value is the property's value. The property's type is one of the classes derived from the base class MgProperty. The following list shows the names of the classes derived from MgProperty and, for each class, the type returned by the GetValue() method:

- MgBlobProperty::GetValue() returns MgByteReader
- MgBooleanProperty::GetValue() returns bool
- MgByteProperty::GetValue() returns BYTE (unsigned char)
- MgClobProperty::GetValue() returns MgByteReader
- MgDateTimeProperty::GetValue() returns MgDateTime
- MgDoubleProperty::GetValue() returns double
- MgFeatureProperty::GetValue() returns MgFeatureReader
- MgGeometryProperty::GetValue() returns MgByteReader
- MgInt16Property::GetValue() returns Int16 (short)
- MgInt32Property::GetValue() returns Int32 (long)
- MgInt64Property::GetValue() returns Int64 (long long)
- MgRasterProperty::GetValue() returns MgRaster
- MgSingleProperty::GetValue() returns float
- MgStringProperty::GetValue() returns STRING (wstring)

Comments or suggestions? Send us feedback.