DesignElement Class

The DesignElement class is a specialization of the ModelElement class.

Namespace:  Microsoft.Dynamics.AX.Framework.MetaModel
Assembly:  Microsoft.Dynamics.AX.Framework.MetaModel (in Microsoft.Dynamics.AX.Framework.MetaModel.dll)

No code example is currently available or this language may not be supported.

A DesignElement instance typically is the only object that a consumer uses. For a graphical designer consumer this will be the objects that go to the toolbox. Each consumer of the Metadata API will create specialized classes for each design element in the model.

Each DesignElement class will have several properties, and each of these properties have strongly-typed getters and setters defined. Each of the properties also has a PropertyState class reference that holds the information about the property state.

All of the properties on a DesignElement class can be accessed by using the strong-typed getters and setters, or by using the associated property type and the weakly-typed getters and setters. These getters and setters are the GetValueAsObject and SetValueAsObject methods.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: