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


IGpObjectArray.Replace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpObjectArray Interface > IGpObjectArray.Replace Method
ArcGIS Developer Help

IGpObjectArray.Replace Method

Replaces the object at the specified index in the array.

[Visual Basic .NET]
Public Sub Replace ( _
    ByVal Element As Integer, _
    ByVal pObject As Object _
)
[C#]
public void Replace (
    int Element,
    object pObject
);
[C++]
HRESULT Replace(
  long Element,
  IDispatch* pObject
);
[C++]
Parameters
Element [in]

Element is a parameter of type long pObject [in]
pObject is a parameter of type IDispatch

Product Availability

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

See Also

IGpObjectArray Interface