ArcObjects Library Reference (Geoprocessing)  

IMdModel.GetElementByID Method

Returns the model element with the given identifier.

[Visual Basic .NET]
Public Function GetElementByID ( _
    ByVal identifier As Integer _
) As IMdElement
[C#]
public IMdElement GetElementByID (
    int identifier
);
[C++]
HRESULT GetElementByID(
  long identifier,
  IMdElement** Element
);
[C++]

Parameters

identifier [in]   identifier is a parameter of type long Element [out, retval]

  Element is a parameter of type IMdElement

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMdModel Interface