AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgFeatureReader* MgFeatureReader::GetFeatureObject ( CREFSTRING  propertyName  )  [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(string propertyName);
Java Syntax
virtual MgFeatureReader GetFeatureObject(String propertyName);
PHP Syntax
virtual MgFeatureReader GetFeatureObject(string propertyName);

Parameters:
propertyName (String/string) The property name.
Returns:
Returns an MgFeatureReader object, which can be used to access properties of an object contained in the feature object.
Exceptions:
MgInvalidArgumentException if the property type is not a feature.
MgConnectionNotOpenException 
MgNullPropertyValueException 
MgFdoException