AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgObjectPropertyDefinition Class Reference
[MgObjectPropertyDefinition]

Inherits MgPropertyDefinition.

List of all members.


Detailed Description

Defines a feature property which contains one or more objects whose type is a feature class. If there is more than one object, an identity property is defined that is used to select an object from the collection.

Public Member Functions

MgClassDefinitionGetClassDefinition ()
 Gets an MgClassDefinition object that defines the type of this property.
MgDataPropertyDefinitionGetIdentityProperty ()
 
INT32 GetObjectType ()
 
INT32 GetOrderType ()
 
 MgObjectPropertyDefinition (CREFSTRING name)
 Constructs a MgObjectPropertyDefinition object.
void SetClassDefinition (MgClassDefinition *classDef)
 
void SetIdentityProperty (MgDataPropertyDefinition *propDef)
 Sets a reference to an MgDataPropertyDefinition used to create the identity properties that uniquely identify the objects that constitute the object property.
void SetObjectType (INT32 objType)
 Sets the MgObjectPropertyType type (either value, collection, or ordered collection) of this object property.
void SetOrderType (INT32 orderType)
 Sets the MgOrderingOption type (either ascending or descending) for this object property.