Columns Collection

The Columns collection groups Column objects in a data source.

Discussion

Use this collection to add, select or remove a Column object. Transformer data sources have their data arranged in columns that act as the source of values for levels.

To return this collection, use the Columns property of a data source object.

These tables list related methods and properties.

Method

Description

Add Method (Objects)

Adds a Column object to the collection.

Item Method

Selects a specific Column object in the collection.

Remove Method

Removes a specific Column object from the collection.

Property

Description

Application Property

Returns the Transformer Application object.

Count Property

Returns the number of Column objects in the collection.

Parent Property

Returns the parent object.

Examples

objDataSource = objModel.DataSources.Add(xtrObjectType.trFlatFileDataSource)
objColumn = objDataSource.Columns(1)