AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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