Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetClassDefinition
MgLayer
SelectAggregate
SelectFeatures
UpdateFeatures
virtual MgClassDefinition* MgLayer::GetClassDefinition | ( |  | ) | `[virtual]`
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 from MgLayerBase.

Comments or suggestions? Send us feedback.