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 | |
---|---|---|
![]() |
Capacity | (Inherited from CollectionBase.) |
![]() |
Count | (Inherited from CollectionBase.) |
![]() |
InnerList | (Inherited from CollectionBase.) |
![]() |
List | (Inherited from CollectionBase.) |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Methods
Name | Description | |
---|---|---|
![]() |
AddRange(Object[]) | Adds an array of items to the end of the collection. |
![]() |
Clear() | (Inherited from CollectionBase.) |
![]() |
Contains(Object) | Determines whether an item is in the collection. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetEnumerator() | (Inherited from CollectionBase.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Insert(Int32, Object) | Inserts an item into the collection at the specified index. |
![]() |
InsertRange(Int32, Object[]) | Inserts an array of items into the collection at the specified index. |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
OnClear() | Performs custom processes before clearing the contents of the collection. (Overrides CollectionBase.OnClear().) |
![]() |
OnClearComplete() | Performs custom processes after clearing the contents of the collection. (Overrides CollectionBase.OnClearComplete().) |
![]() |
OnInsert(Int32, Object) | Performs custom processes before inserting a new element into the collection. (Overrides CollectionBase.OnInsert(Int32, Object).) |
![]() |
OnInsertComplete(Int32, Object) | Performs custom processes after inserting an item into the collection. (Overrides CollectionBase.OnInsertComplete(Int32, Object).) |
![]() |
OnItemsAdded(Int32, Object[]) | Performs custom processes before an array of items is inserted into the collection or added to the end of the collection. |
![]() |
OnItemsRemoved(Int32, Object[]) | Performs custom processes before an array of items is removed from the collection. |
![]() |
OnRemove(Int32, Object) | Performs custom processes before an item is removed from the collection. (Overrides CollectionBase.OnRemove(Int32, Object).) |
![]() |
OnRemoveComplete(Int32, Object) | Performs custom processes after an item is removed from the collection. (Overrides CollectionBase.OnRemoveComplete(Int32, Object).) |
![]() |
OnSet(Int32, Object, Object) | Performs custom processes before setting the value of an item in the collection. (Overrides CollectionBase.OnSet(Int32, Object, Object).) |
![]() |
OnSetComplete(Int32, Object, Object) | Performs custom processes after setting the value of an item in the collection. (Overrides CollectionBase.OnSetComplete(Int32, Object, Object).) |
![]() |
OnValidate(Object) | Performs custom processes when validating an item. (Overrides CollectionBase.OnValidate(Object).) |
![]() |
RemoveAt(Int32) | (Inherited from CollectionBase.) |
![]() |
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