Web API Reference MapGuide Open Source
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 

Reimplemented in MgLayer.


Comments or suggestions? Send us feedback.