MmcListViewColumn Constructor (String, Int32)

 

Initializes a new instance of the MmcListViewColumn class using the column title and width as parameters.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public MmcListViewColumn(
    string title,
    int width
)
public:
MmcListViewColumn(
    String^ title,
    int width
)
new : 
        title:string *
        width:int -> MmcListViewColumn
Public Sub New (
    title As String,
    width As Integer
)

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.

See Also

MmcListViewColumn Overload
MmcListViewColumn Class
Microsoft.ManagementConsole Namespace

Return to top