Share via


BaseCollection Class

 

Provides the abstract base class for strongly typed collections.

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

Inheritance Hierarchy

System.Object
  System.Collections.CollectionBase
    Microsoft.ManagementConsole.BaseCollection
      Microsoft.ManagementConsole.ActionsPaneItemCollection
      Microsoft.ManagementConsole.MmcListViewColumnCollection
      Microsoft.ManagementConsole.NodeSubItemDisplayNameCollection
      Microsoft.ManagementConsole.PropertyPageCollection
      Microsoft.ManagementConsole.ResultNodeCollection
      Microsoft.ManagementConsole.ScopeNodeCollection
      Microsoft.ManagementConsole.ViewDescriptionCollection

Syntax

public abstract class BaseCollection : CollectionBase
public ref class BaseCollection abstract : CollectionBase
[<AbstractClass>]
type BaseCollection = 
    class
        inherit CollectionBase
    end
Public MustInherit Class BaseCollection
    Inherits CollectionBase

Properties

Name Description
System_CAPS_pubproperty Capacity

(Inherited from CollectionBase.)

System_CAPS_pubproperty Count

(Inherited from CollectionBase.)

System_CAPS_protproperty InnerList

(Inherited from CollectionBase.)

System_CAPS_protproperty List

(Inherited from CollectionBase.)

System_CAPS_pubproperty SyncRoot

Gets an object that can be used to synchronize access to the collection.

Methods

Name Description
System_CAPS_protmethod AddRange(Object[])

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

System_CAPS_pubmethod Clear()

(Inherited from CollectionBase.)

System_CAPS_pubmethod Contains(Object)

Determines whether an item is in the collection.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(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_protmethod Insert(Int32, Object)

Inserts an item into the collection at the specified index.

System_CAPS_protmethod InsertRange(Int32, Object[])

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

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnClear()

Performs custom processes before clearing the contents of the collection. (Overrides CollectionBase.OnClear().)

System_CAPS_protmethod OnClearComplete()

Performs custom processes after clearing the contents of the collection. (Overrides CollectionBase.OnClearComplete().)

System_CAPS_protmethod OnInsert(Int32, Object)

Performs custom processes before inserting a new element into the collection. (Overrides CollectionBase.OnInsert(Int32, Object).)

System_CAPS_protmethod OnInsertComplete(Int32, Object)

Performs custom processes after inserting an item into the collection. (Overrides CollectionBase.OnInsertComplete(Int32, Object).)

System_CAPS_protmethod OnItemsAdded(Int32, Object[])

Performs custom processes before an array of items is inserted into the collection or added to the end of the collection.

System_CAPS_protmethod OnItemsRemoved(Int32, Object[])

Performs custom processes before an array of items is removed from the collection.

System_CAPS_protmethod OnRemove(Int32, Object)

Performs custom processes before an item is removed from the collection. (Overrides CollectionBase.OnRemove(Int32, Object).)

System_CAPS_protmethod OnRemoveComplete(Int32, Object)

Performs custom processes after an item is removed from the collection. (Overrides CollectionBase.OnRemoveComplete(Int32, Object).)

System_CAPS_protmethod OnSet(Int32, Object, Object)

Performs custom processes before setting the value of an item in the collection. (Overrides CollectionBase.OnSet(Int32, Object, Object).)

System_CAPS_protmethod OnSetComplete(Int32, Object, Object)

Performs custom processes after setting the value of an item in the collection. (Overrides CollectionBase.OnSetComplete(Int32, Object, Object).)

System_CAPS_protmethod OnValidate(Object)

Performs custom processes when validating an item. (Overrides CollectionBase.OnValidate(Object).)

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from CollectionBase.)

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