public class DataTableCollection
extends java.lang.Object
implements java.lang.Iterable
DataSet.| Modifier and Type | Method and Description |
|---|---|
void |
add(DataTable table)
Adds the specified DataTable to the collection.
|
DataTable |
add(java.lang.String name)
Creates a
DataTable object by using the specified name and adds it to the collection. |
boolean |
contains(java.lang.String name)
Gets a value that indicates whether a
DataTable object with the specified name exists in the collection. |
DataTable |
get(int index)
Gets the
DataTable object at the specified index. |
DataTable |
get(java.lang.String name)
Gets the
DataTable object with the specified name. |
DataTable |
get(java.lang.String name,
java.lang.String tableNamespace)
Gets the
DataTable object with the specified name in the specified namespace. |
int |
getCount() |
java.util.Iterator |
iterator() |
public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic DataTable get(java.lang.String name, java.lang.String tableNamespace)
DataTable object with the specified name in the specified namespace.public void add(DataTable table)
table - The DataTable object to add.public DataTable add(java.lang.String name)
DataTable object by using the specified name and adds it to the collection.public int getCount()