Share via


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.String

    The column title. The title of the column should not be longer than 255 characters.

  • width
    Type: System.Int32

    The column width in pixels or -1 to indicate automatic width calculation.

  • visible
    Type: System.Boolean

    True if the column is visible; otherwise, false.

See Also

MmcListViewColumn Overload
MmcListViewColumn Class
Microsoft.ManagementConsole Namespace

Return to top