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


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

IActionCollection.Add Method

Adds an action to the collection.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal piAction As IAction, _
    ByVal nIndex As Integer _
)
[C#]
public void Add (
    IAction piAction,
    int nIndex
);
[C++]
HRESULT Add(
  IAction* piAction,
  Long nIndex
);
[C++]
Parameters
piAction [in]

piAction is a parameter of type IAction* nIndex [in]
nIndex is a parameter of type int

Product Availability

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

See Also

IActionCollection Interface