Share via


MmcListViewColumnCollection Class

 

This is a sealed class that represents a collection of columns in a list view.

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

Inheritance Hierarchy

System.Object
  System.Collections.CollectionBase
    Microsoft.ManagementConsole.BaseCollection
      Microsoft.ManagementConsole.MmcListViewColumnCollection

Syntax

public sealed class MmcListViewColumnCollection : BaseCollection
public ref class MmcListViewColumnCollection sealed : BaseCollection
[<Sealed>]
type MmcListViewColumnCollection = 
    class
        inherit BaseCollection
    end
Public NotInheritable Class MmcListViewColumnCollection
    Inherits BaseCollection

Properties

Name Description
System_CAPS_pubproperty Capacity

(Inherited from CollectionBase.)

System_CAPS_pubproperty Count

(Inherited from CollectionBase.)

System_CAPS_pubproperty Item[Int32]

Gets or sets the column at the specified index.

System_CAPS_pubproperty SyncRoot

Gets an object that can be used to synchronize access to the collection. (Inherited from BaseCollection.)

Methods

Name Description
System_CAPS_pubmethod Add(MmcListViewColumn)

Adds a column to the end of the collection.

System_CAPS_pubmethod AddRange(MmcListViewColumn[])

Adds an array of columns to the end of the collection.

System_CAPS_pubmethod Clear()

Removes all columns, except the default column, that were added by the snap-in. This method leaves the default column in the collection.

System_CAPS_pubmethod Contains(MmcListViewColumn)

Determines whether the collection contains a specific column.

System_CAPS_pubmethod Contains(Object)

Determines whether an item is in the collection. (Inherited from BaseCollection.)

System_CAPS_pubmethod CopyTo(MmcListViewColumn[], Int32)

Copies the contents of the collection to an MmcListViewColumn array, starting at a specified array index.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from CollectionBase.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(MmcListViewColumn)

Determines the index of a specific column in the collection.

System_CAPS_pubmethod Insert(Int32, MmcListViewColumn)

Inserts a column into the collection.

System_CAPS_pubmethod InsertRange(Int32, MmcListViewColumn[])

Inserts an array of columns into the collection at the specified index.

System_CAPS_pubmethod Remove(MmcListViewColumn)

Removes the first occurrence of a specific column from the collection.

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from CollectionBase.)

System_CAPS_pubmethod ToArray()

Copies the entire contents of the collection to a new array of MmcListViewColumn objects.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.IsSynchronized

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.SyncRoot

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.IsFixedSize

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.IsReadOnly

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.Item[Int32]

(Inherited from CollectionBase.)

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

Microsoft.ManagementConsole Namespace

Return to top