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


IGpObjectArray.Replace Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

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