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


IElementCollection.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElementCollection Interface > IElementCollection.Add Method
ArcGIS Developer Help

IElementCollection.Add Method

Adds an element to the collection.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal Element As IElement, _
    [ByVal LinkedFeatureID As Integer] _
)
[C#]
public void Add (
    IElement Element,
    int LinkedFeatureID
);
[C++]
HRESULT Add(
  IElement* Element,
  long LinkedFeatureID
);
[C++]
Parameters
Element [in]

Element is a parameter of type IElement* LinkedFeatureID [in, optional, defaultvalue()]
LinkedFeatureID is a parameter of type long

Product Availability

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

See Also

IElementCollection Interface