This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IArray Interface > IArray.Element Property (ArcObjects .NET 10.5 SDK) |
Searches for the object in the array.
[Visual Basic .NET] Public Function get_Element ( _ ByVal index As Integer _ ) As Object
[C#] public object get_Element ( int index );
[C++]
HRESULT get_Element(
long index,
LPUNKNOWN* unk
);
[C++]
Parameters index [in] index is a parameter of type long unk [out, retval] unk is a parameter of type LPUNKNOWN
Returns the element at the specified index in the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.