Returns the element named 'eltName' implemented by the element type.
[Visual Basic 6.0] Function GetElement(
ByVal eltName As String _
) As INgElement
[Visual Basic .NET] Public Function GetElement ( _ ByVal eltName As String _ ) As INgElement
[C#] public INgElement GetElement ( string eltName );
[Java] public INgElement getElement ( String eltName ) throws IOException, AutomationException
[C++] HRESULT GetElement( BSTR eltName, INgElement** pVal );
Parameters
eltName [in]
eltName is a parameter of type BSTR
pVal [out, retval]
pVal is a parameter of type INgElement
Here is a sample call of the GetElement method:
Dim pElement As INgElement
Dim pElementType As INgElementType
...
Set pElement = pElementType.GetElement("Root")
INgElementType Interface | INgElementType.Elements Property | INgDiagram.GetNode Method | INgDiagram.GetLink Method | INgDiagram.GetDrawing Method