AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgClassDefinition* MgLayerBase::GetClassDefinition (  )  [virtual]

_get

Gets the class definition for the feature class of the layer. If the feature class of the layer is extended with properties from other feature classes, then all those properties are also contained in the returned class definition. See Feature Schema .

.NET Syntax
virtual MgClassDefinition GetClassDefinition(string schemaName);
Java Syntax
virtual MgClassDefinition GetClassDefinition(String schemaName);
PHP Syntax
virtual MgClassDefinition GetClassDefinition(string schemaName);

Returns:
Returns an MgClassDefinition instance for the feature class of the layer.
Exceptions:
MgFeatureServiceException 
MgInvalidArgumentException 
MgFdoException