MmcListViewColumn Constructor (String, Int32, MmcListViewColumnFormat, Boolean)
Initializes a new instance of the MmcListViewColumn class using the column title, width, format, and column visibility as parameters.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public MmcListViewColumn(
string title,
int width,
MmcListViewColumnFormat format,
bool visible
)
public:
MmcListViewColumn(
String^ title,
int width,
MmcListViewColumnFormat format,
bool visible
)
new :
title:string *
width:int *
format:MmcListViewColumnFormat *
visible:bool -> MmcListViewColumn
Public Sub New (
title As String,
width As Integer,
format As MmcListViewColumnFormat,
visible As Boolean
)
Parameters
title
Type: System.StringThe column title. The title of the column should not be longer than 255 characters.
width
Type: System.Int32The column width in pixels or -1 to indicate automatic width calculation.
format
Type: Microsoft.ManagementConsole.MmcListViewColumnFormatThe column format that specifies the alignment of the title within the column.
visible
Type: System.BooleanTrue if the column is visible; otherwise, false.
See Also
MmcListViewColumn Overload
MmcListViewColumn Class
Microsoft.ManagementConsole Namespace
Return to top