Columns Property (TableView Object)

Columns Property (TableView Object)

Important  The Collaboration Data Objects (CDO) 1.2.1 Rendering objects are not installed by or supported for use with Exchange Server 2003 or later.

The Columns property returns a single Column object or a Columns collection for this table view. Read-only.

Syntax

Set objColumns = objTableView.Columns

Set objColumn = objTableView.Columns(index)

objColumns

Object. The Columns collection of this table view.

objTableView

Required. The TableView object.

objColumn

Object. An individual Column object belonging to this table views Columns collection.

index

Integer. An index into the table views Columns collection.

Data Type

Object (Column or Columns collection)

Remarks

If a Column object is to be accessed with the index parameter, the value of index must be between 1 and the size of the TableView objects Columns collection. This size is available in the collections Count property.

Although the Columns property itself is read-only, the collection it returns can be accessed in the normal manner through its Add method, and the properties on its member Column objects retain their respective read/write or read-only accessibility.

See Also

Concepts

TableView Object