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


IMdModel.GetElement Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IMdModel.GetElement Method

Returns the model element with the given name.

[Visual Basic .NET]
Public Function GetElement ( _
    ByVal Name As String _
) As IMdElement
[C#]
public IMdElement GetElement (
    string Name
);
[C++]
HRESULT GetElement(
  BSTR Name,
  IMdElement** Element
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR 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