Provides access to properties/methods of a model element.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
Description | ||
---|---|---|
Altered | Indicates if the model element has been altered by the user. | |
Current | Indicates if the model element is current (i.e., has been created). | |
GetDependents | Returns an enumeration of model elements that are dependent on the model element in the given direction and of the given connection type. | |
GetMessages | Returns the messages returned from the last call to Validate(). | |
ID | Unique identifier of the model element. | |
IsDependentOn | Returns whether or not the model element is dependent on the given model element in the given direction of the given connection type. | |
Marked | Indicates if the model element has been marked for validation/execution. | |
Model | The model the model element is contained within. | |
Name | Name of the model element. | |
State | The state of the model element. | |
Valid | Indicates if the model element is valid. | |
Validate | Validates the model element. |
CoClasses that implement IMdElement
CoClasses and Classes | Description |
---|---|
MdProcess | Model process object that represents a specific invokation of a particular geoprocessing tool. |
MdVariable | Model variable object that contains a value object. |
Remarks
The IMdElement provides access to model element's properties such as State and Valid, and its methods such as GetMessages and Validate.
MdElement objects are the items that define the contents of a model. A Model Process [IMdProcess] represents the invocation of a tool with its set of values. A Moel Variable [IMdVariable] represents a specific value that is used as input or output of one or more model processes.
The attached sample code show how to access a model process.