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.
Method | Description |
---|---|
Item | Retrieves the Column object at a specified index. |
Properties
The Columns Collection object has these properties.
Property | Description |
---|---|
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 |
|
IDL |
|
DLL |
|
IID |
IID_Columns is defined as 383D4D97-FC44-478B-B139-6323DC48611C |