|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILongArray
Provides access to members that control long arrays.
The ILongArray interface provides methods and properties for inserting, removing and accessing elements in a LongArray via a zero-based index.
Method Summary | |
---|---|
void |
add(int element)
Adds an element to the array. |
int |
getCount()
The number of elements in the array. |
int |
getElement(int index)
An element in the array. |
void |
insert(int index,
int element)
Inserts an element to the array. |
void |
remove(int index)
Removes an element from the array. |
void |
removeAll()
Removes all elements from the array. |
void |
setElement(int index,
int pElement)
An element in the array. |
Method Detail |
---|
int getCount() throws IOException, AutomationException
Returns the number of elements in the array.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(int index) throws IOException, AutomationException
Removes the element at the specified index from 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.
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAll() throws IOException, AutomationException
Removes all of the elements from the array.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getElement(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setElement(int index, int pElement) throws IOException, AutomationException
index
- The index (in)pElement
- The pElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void add(int element) throws IOException, AutomationException
Adds the element to the end of the array.
element
- The element (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insert(int index, int element) throws IOException, AutomationException
Adds the element to the array at the specified index. 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.
index
- The index (in)element
- The element (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |