Partager via


View::Columns property

The Columns property returns the columns in the view. This property is read-only.

Syntax

Property Columns As Columns

Property value

The Columns collection made up of the columns in the view.

Examples

' Retrieve the Columns object for the View.
Dim objCols As MMC20.Columns
Set objCols = objView.Columns
 
' Use the Columns object.
' ...
 
' Free the object when done.
Set objCols = Nothing

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38

See also

Columns collection