Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgObjectPropertyDefinition Class Reference
[MgObjectPropertyDefinition]

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. More...

Inherits MgPropertyDefinition.

List of all members.

## Public Member Functions
MgClassDefinition * | GetClassDefinition ()
| Gets an MgClassDefinition object that defines the type of this property.
MgDataPropertyDefinition * | GetIdentityProperty ()
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.

## 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.

Comments or suggestions? Send us feedback.