This document is archived and information here might be outdated.  Recommended version.


IMdModel.GetElementByID Method (ArcObjects .NET 10.6 SDK)
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
);
[C++]

Parameters identifier [in]
identifier is a parameter of type long

Product Availability

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

See Also

IMdModel Interface