|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDatasetContainer2
Provides access to members that return datasets by name, ID and index.
The IDatasetContainer2 interface provides access to properties that return datasets by name, ID and index. It also provides the mechanism for creating datasets through the user of the data element. Use the DatasetTypes method to determine the supported datasets for the container.
Method Summary | |
---|---|
IDataset |
createDataset(IDEDataset dataElement)
Given a data element, create a dataset in this container. |
IDataset |
getDataset(int type,
int index)
The dataset associated with the specified index value and dataset type. |
IDataset |
getDatasetByName(int type,
String name)
The dataset of the specified type with the specified name. |
int |
getDatasetCount(int type)
The number of datasets of the specified type in this container. |
IEnumDatasetName |
getDatasetNames(int type)
The names of all the datasets with the specified type. |
IEnumDataset |
getDatasets(int type)
An enumerator over the datasets of the specified type. |
IEnumDatasetType |
getDatasetTypes()
The names of all the datasets with the specified type. |
Methods inherited from interface com.esri.arcgis.geodatabase.IDatasetContainer |
---|
addDataset |
Method Detail |
---|
IDataset getDataset(int type, int index) throws IOException, AutomationException
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumDataset getDatasets(int type) throws IOException, AutomationException
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDatasetCount(int type) throws IOException, AutomationException
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IDataset getDatasetByName(int type, String name) throws IOException, AutomationException
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumDatasetName getDatasetNames(int type) throws IOException, AutomationException
type
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumDatasetType getDatasetTypes() throws IOException, AutomationException
The DatasetTypes property returns an enumerator of IEnumDatasetType containing the supported esriDatasetTypes for the container. Use this method to determine the supported datasets for the container.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IDataset createDataset(IDEDataset dataElement) throws IOException, AutomationException
The CreateDataset method will create a dataset given a populated data element. Use the DatasetTypes property to determine the supported dataset types.
dataElement
- A reference to a com.esri.arcgis.geodatabase.IDEDataset (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 |