MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgFeatureReader* MgFeatureReader::GetFeatureObject ( INT32  index) [pure virtual]

Use this method to obtain the values of the properties belonging to an object contained in the feature class instance. Such an object is a property of the feature class instance with a type of MgPropertyType::Feature.

.NET Syntax
virtual MgFeatureReader GetFeatureObject(int index);
Java Syntax
virtual MgFeatureReader GetFeatureObject(int index);
PHP Syntax
virtual MgFeatureReader GetFeatureObject(int index);
Parameters:
index(int) The position of the property in the list of properties belonging to the feature currently being read.
Returns:
Returns an MgFeatureReader object, which can be used to access properties of an object contained in the feature object.
Exceptions:
MgInvalidArgumentExceptionif the property type is not a feature.
MgConnectionNotOpenException
MgNullPropertyValueException
MgFdoException
Since:
2.2