Compartilhar via


MmcListViewColumn Constructor (String, Int32, MmcListViewColumnFormat)

 

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

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

Syntax

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

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