Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

CreateFeatureSource
DescribeSchema
DescribeSchema
DescribeSchemaAsXml
DescribeSchemaAsXml
DescribeWfsFeatureType
EnumerateDataStores
ExecuteSqlNonQuery
ExecuteSqlQuery
GetCapabilities
GetClassDefinition
GetClasses
GetConnectionPropertyValues
GetFeatureProviders
GetLockedFeatures
GetLongTransactions
GetSchemaMapping
GetSchemas
GetSpatialContexts
GetWfsFeature
SchemaToXml
SelectAggregate
SelectFeatures
SelectFeatures
SetLongTransaction
TestConnection
TestConnection
UpdateFeatures
XmlToSchema
virtual MgClassDefinition* MgFeatureService::GetClassDefinition | ( | MgResourceIdentifier * | resource,
|  | CREFSTRING | schemaName,
|  | CREFSTRING | className |
| ) |  |  | `[pure virtual]`
Gets the class definition for the specified class. See Feature Schema . .NET Syntax
`virtual MgClassDefinition GetClassDefinition(MgResourceIdentifier resource, string schemaName, string className);`
Java Syntax
`virtual MgClassDefinition GetClassDefinition(MgResourceIdentifier resource, String schemaName, String className);`
PHP Syntax
`virtual MgClassDefinition GetClassDefinition(MgResourceIdentifier resource, string schemaName, string className);`
  Parameters:
  | resource | (MgResourceIdentifier) A resource identifier for the feature source.
  | schemaName | (String/string) A schema name.
  | className | (String/string) A class name.
  Returns: Returns an MgClassDefinition instance for the specified class name. Exceptions:
  | MgFeatureServiceException |
  | MgInvalidArgumentException |
  | MgFdoException |

Comments or suggestions? Send us feedback.