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


IGxObjectArray.Insert Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxObjectArray Interface > IGxObjectArray.Insert Method
ArcGIS Developer Help

IGxObjectArray.Insert Method

Inserts an object into the array before the specified index. If index is -1, the object is inserted at the end.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal index As Integer, _
    ByVal gxObject As IGxObject _
)
[C#]
public void Insert (
    int index,
    IGxObject gxObject
);

Product Availability

Available with ArcGIS Desktop.

See Also

IGxObjectArray Interface

.NET Samples

Custom GxObject Custom Root Object (Style Gallery) Custom Root Object (Style Gallery)