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 | |
---|---|---|
Capacity | (Inherited from CollectionBase.) |
|
Count | (Inherited from CollectionBase.) |
|
Item[Int32] | Gets or sets the column at the specified index. |
|
SyncRoot | Gets an object that can be used to synchronize access to the collection. (Inherited from BaseCollection.) |
Methods
Name | Description | |
---|---|---|
Add(MmcListViewColumn) | Adds a column to the end of the collection. |
|
AddRange(MmcListViewColumn[]) | Adds an array of columns to the end of the collection. |
|
Clear() | Removes all columns, except the default column, that were added by the snap-in. This method leaves the default column in the collection. |
|
Contains(MmcListViewColumn) | Determines whether the collection contains a specific column. |
|
Contains(Object) | Determines whether an item is in the collection. (Inherited from BaseCollection.) |
|
CopyTo(MmcListViewColumn[], Int32) | Copies the contents of the collection to an MmcListViewColumn array, starting at a specified array index. |
|
Equals(Object) | (Inherited from Object.) |
|
GetEnumerator() | (Inherited from CollectionBase.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IndexOf(MmcListViewColumn) | Determines the index of a specific column in the collection. |
|
Insert(Int32, MmcListViewColumn) | Inserts a column into the collection. |
|
InsertRange(Int32, MmcListViewColumn[]) | Inserts an array of columns into the collection at the specified index. |
|
Remove(MmcListViewColumn) | Removes the first occurrence of a specific column from the collection. |
|
RemoveAt(Int32) | (Inherited from CollectionBase.) |
|
ToArray() | Copies the entire contents of the collection to a new array of MmcListViewColumn objects. |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo(Array, Int32) | (Inherited from CollectionBase.) |
|
IList.Add(Object) | (Inherited from CollectionBase.) |
|
IList.Contains(Object) | (Inherited from CollectionBase.) |
|
IList.IndexOf(Object) | (Inherited from CollectionBase.) |
|
IList.Insert(Int32, Object) | (Inherited from CollectionBase.) |
|
IList.Remove(Object) | (Inherited from CollectionBase.) |
|
ICollection.IsSynchronized | (Inherited from CollectionBase.) |
|
ICollection.SyncRoot | (Inherited from CollectionBase.) |
|
IList.IsFixedSize | (Inherited from CollectionBase.) |
|
IList.IsReadOnly | (Inherited from CollectionBase.) |
|
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