DataColumnCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.Collections.ICollection

public class DataColumnCollection implements System.Collections.ICollection<DataColumn>

DataColumnCollection class.

Constructors

Constructor Description
DataColumnCollection(DataTable dataTable) Constructor for DataColumnCollection.

Methods

Method Description
iterator() Gets Iterator
copyTo(System.Array arg0, int arg1) {@inheritDoc}
getSyncRoot() Gets Sync Root
isSynchronized() Defines is Synchronized
size() Gets Size
contains(String name) contains.
add(DataColumn dataColumn) add.
add(String columnName) add.
getColumnName(int ordinal) getColumnName.

DataColumnCollection(DataTable dataTable)

public DataColumnCollection(DataTable dataTable)

Constructor for DataColumnCollection.

Parameters:

Parameter Type Description
dataTable DataTable a com.aspose.email.DataTable object.

iterator()

public System.Collections.IEnumerator<DataColumn> iterator()

Gets Iterator

Returns: com.aspose.ms.System.Collections.IEnumerator<com.aspose.email.DataColumn> - an iterator.

copyTo(System.Array arg0, int arg1)

public void copyTo(System.Array arg0, int arg1)

Parameters:

Parameter Type Description
arg0 com.aspose.ms.System.Array
arg1 int

getSyncRoot()

public Object getSyncRoot()

Gets Sync Root

Returns: java.lang.Object - a object.

isSynchronized()

public boolean isSynchronized()

Defines is Synchronized

Returns: boolean - a boolean.

size()

public int size()

Gets Size

Returns: int - an integer.

contains(String name)

public boolean contains(String name)

contains.

Parameters:

Parameter Type Description
name java.lang.String a java.lang.String object.

Returns: boolean - a boolean.

add(DataColumn dataColumn)

public void add(DataColumn dataColumn)

add.

Parameters:

Parameter Type Description
dataColumn DataColumn a com.aspose.email.DataColumn object.

add(String columnName)

public void add(String columnName)

add.

Parameters:

Parameter Type Description
columnName java.lang.String a java.lang.String object.

getColumnName(int ordinal)

public String getColumnName(int ordinal)

getColumnName.

Parameters:

Parameter Type Description
ordinal int a int.

Returns: java.lang.String - a java.lang.String object.