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


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

IGpObjectArray.GetObject Method

Returns the object at the given index in the array.

[Visual Basic .NET]
Public Function GetObject ( _
    ByVal Element As Integer _
) As Object
[C#]
public object GetObject (
    int Element
);
[C++]
HRESULT GetObject(
  long Element,
  IDispatch** ppObject
);
[C++]

Parameters Element [in] Element is a parameter of type long ppObject [out, retval] ppObject is a parameter of type IDispatch*

Product Availability

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

See Also

IGpObjectArray Interface