|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPMultiValue
Provides access to the properties/methods of a multi-value object.
Set both data type and value for a multi value object. See code examples in SDK help topic Building a custom geoprocessing function tool.
Method Summary | |
---|---|
void |
addValue(IGPValue value)
Adds the given value object to the multi-value object. |
int |
getCount()
The number of values currently contained in the multi-value object. |
IGPDataType |
getMemberDataType()
The data type of value objects accepted by the multi-value object. |
IGPValue |
getValue(int index)
The value at the specified index. |
IEnumGPValue |
getValues()
An enumeration of values contained in the multi-value object. |
void |
insert(int index,
IGPValue value)
Inserts the given value object to the multi-value object at the specified index. |
void |
remove(int index)
Removes the value object at the given index from the multi-value object. |
void |
removeValue(IGPValue value)
Removes the given value object from the multi-value object. |
void |
replace(int index,
IGPValue value)
Replaces the value object at the given index with the given value object. |
void |
setMemberDataTypeByRef(IGPDataType type)
The data type of value objects accepted by the multi-value object. |
Method Detail |
---|
IGPValue getValue(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumGPValue getValues() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMemberDataTypeByRef(IGPDataType type) throws IOException, AutomationException
type
- A reference to a com.esri.arcgis.geodatabase.IGPDataType (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPDataType getMemberDataType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addValue(IGPValue value) throws IOException, AutomationException
value
- A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insert(int index, IGPValue value) throws IOException, AutomationException
index
- The index (in)value
- A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeValue(IGPValue value) throws IOException, AutomationException
value
- A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void replace(int index, IGPValue value) throws IOException, AutomationException
index
- The index (in)value
- A reference to a com.esri.arcgis.geodatabase.IGPValue (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 |