|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStringArray
Provides access to members that control string arrays.
The IStringArray interface provides methods and properties for inserting, removing and accessing elements in a StrArray via a zero-based index.
Method Summary | |
---|---|
void |
add(String element)
Add an element. |
int |
getCount()
The element count. |
String |
getElement(int index)
An element in the array. |
void |
insert(int index,
String element)
Add an element at the specified posiiton. |
void |
remove(int index)
Removes element at the specified position. |
void |
removeAll()
Removes all elements. |
void |
setElement(int index,
String element)
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.String 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, String element) throws IOException, AutomationException
index
- The index (in)element
- The element (in)
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.void add(String 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, String 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 |