![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Columns Property
Gets the set of columns that were included in the query for this View,
or null if this view is not a SELECT query.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public ColumnCollection Columns { get; }
Public ReadOnly Property Columns As ColumnCollection Get
public: property ColumnCollection^ Columns { ColumnCollection^ get (); }
member Columns : ColumnCollection with get
![](collapse_all.gif)
![](collapse_all.gif)
Win32 MSI API: MsiViewGetColumnInfo
![](collapse_all.gif)
Exception | Condition |
---|---|
InstallerException | the View is not in an active state |
InvalidHandleException | the View handle is invalid |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)