Share via


MmcListViewColumn Class

 

Represents a single column in a list view.

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

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.MmcListViewColumn

Syntax

public class MmcListViewColumn
public ref class MmcListViewColumn 
type MmcListViewColumn = class end
Public Class MmcListViewColumn

Constructors

Name Description
System_CAPS_pubmethod MmcListViewColumn()

Initializes a new instance of the MmcListViewColumn class.

System_CAPS_pubmethod MmcListViewColumn(String)

Initializes a new instance of the MmcListViewColumn class using the column title as a parameter.

System_CAPS_pubmethod MmcListViewColumn(String, Int32)

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

System_CAPS_pubmethod MmcListViewColumn(String, Int32, MmcListViewColumnFormat)

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

System_CAPS_pubmethod MmcListViewColumn(String, Int32, MmcListViewColumnFormat, Boolean)

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

Properties

Name Description
System_CAPS_pubproperty Format

Gets or sets the column format that specifies the alignment of the title within the column. This value cannot be modified after the column has been inserted into an MMC list view collection.

System_CAPS_pubproperty Title

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

System_CAPS_pubproperty Visible

Gets or sets the column visibility. This value cannot be modified after the column has been inserted into an MMC list view collection.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetWidth(Int32)

Sets a value that specifies the column width.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

MmcListView
Microsoft.ManagementConsole Namespace

Return to top