Interface IArray

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll

Provides access to members that control a simple array of objects.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("AAFB54D9-AAF8-11D2-87F3-0000F8751720")]
public interface IArray

Remarks

When adding an object to an Array, you are merely adding a new reference to the object not copying it. The reference is released when the Array is destroyed or the object is removed.

Properties

Count

The element count of the array.

int Count { get; }

Property Value

int

Element[int]

Searches for the object in the array.

object Element[int Index] { get; }

Parameters

Index int

Property Value

object

Methods

Add(object)

Adds an object to the array.

void Add(object unk)

Parameters

unk object

Remarks

When adding an object to an Array, you are merely adding a new reference to the object not copying it. The reference is released when the Array is destroyed or the object is removed.

Insert(int, object)

Adds an object to the array at the specified index.

void Insert(int Index, object unk)

Parameters

Index int
unk object

Remove(int)

Removes an object from the array.

void Remove(int Index)

Parameters

Index int

RemoveAll()

Removes all objects from the array.

void RemoveAll()