The AddColumn method adds a Column object to the collection by name and ordinal position.
| Columns Collection |
object.AddColumn
(Name,
Ordinal)
| Part | Description |
|---|---|
| Columns | Expression that evaluates to an object in the Applies To list |
| Name | Name of the column |
| Ordinal | Ordinal position of the column |
HRESULT AddColumn(BSTR Name,
long Ordinal);