Columns Collection object

The Columns object is a collection of Column objects.

Members

The Columns Collection object has these types of members:

Methods

The Columns Collection object has these methods.

MethodDescription
Item

Retrieves the Column object at a specified index.

 

Properties

The Columns Collection object has these properties.

PropertyDescription

Count

Number of Column objects in the collection.

 

Examples

The Columns collection supports the "For Each" enumeration syntax, as shown in the following example.


Dim objCol As MMC20.Column
' objCols is a Columns collection.
For Each objCol In objCols
    ' Use the Column object.
    MsgBox (objCol.Name)
Next

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

MMCObj.h

IDL

MMCObj.idl

DLL

MmcNdMgr.dll

IID

IID_Columns is defined as 383D4D97-FC44-478B-B139-6323DC48611C

See also

View.Columns Property

 

 

Show: