Columns Collection Object

The Columns collection object contains zero or more columns in a view.

At a Glance

Specified in type library: CDOHTML.DLL
First available in: CDO Rendering Library version 1.1
Parent objects: CalendarView
TableView
Child objects: Column
Default property: Item

A Columns collection supports count and index values that let you access an individual Column object through the Item property. The Columns collection also supports the Microsoft® Visual Basic® For Each statement.

Properties


Name
Available since version
Type

Access
Class 1.1 Long Read-only
Count 1.1 Long Read-only
Item 1.1 Column object Read-only
Parent 1.1 TableView object Read-only

Methods


Name
Available since version
Parameters
Add 1.1 pszDisplayName as String,
varProperty as Variant,
lWidth as Long,
lFlags as Long,
lInsertAfter as Long,
(optional) varType as Long