ViewDescriptionCollection Class
This is a sealed class that represents a collection of ViewDescription objects.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Inheritance Hierarchy
System.Object
System.Collections.CollectionBase
Microsoft.ManagementConsole.BaseCollection
Microsoft.ManagementConsole.ViewDescriptionCollection
Syntax
public sealed class ViewDescriptionCollection : BaseCollection
public ref class ViewDescriptionCollection sealed : BaseCollection
[<Sealed>]
type ViewDescriptionCollection =
class
inherit BaseCollection
end
Public NotInheritable Class ViewDescriptionCollection
Inherits BaseCollection
Constructors
Name | Description | |
---|---|---|
ViewDescriptionCollection() | Initializes a new instance of the ViewDescriptionCollection class. |
Properties
Name | Description | |
---|---|---|
Capacity | (Inherited from CollectionBase.) |
|
Count | (Inherited from CollectionBase.) |
|
DefaultIndex | Gets or sets the index of the default view description for the collection. The default view description specifies the view to present when the scope node is selected. |
|
Id | Gets the internally generated integer that uniquely identifies the ViewDescriptionCollection instance at runtime. |
|
Item[Int32] | Gets or sets the ViewDescription object 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(ViewDescription) | Adds a ViewDescription object to the end of the collection. |
|
AddRange(ViewDescription[]) | Adds an array of ViewDescription objects to the end of the collection. |
|
Clear() | (Inherited from CollectionBase.) |
|
Contains(Object) | Determines whether an item is in the collection. (Inherited from BaseCollection.) |
|
Contains(ViewDescription) | Determines whether a specific ViewDescription object is in the collection. |
|
CopyTo(ViewDescription[], Int32) | Copies the contents of the collection to a ViewDescription 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(ViewDescription) | Determines the index of a specific ViewDescription object in the collection. |
|
Insert(Int32, ViewDescription) | Inserts a ViewDescription object into the collection. |
|
InsertRange(Int32, ViewDescription[]) | Inserts an array of ViewDescription objects into the collection at the specified index. |
|
Remove(ViewDescription) | Removes the first occurrence of a specific ViewDescription object from the collection. |
|
RemoveAt(Int32) | (Inherited from CollectionBase.) |
|
ToArray() | Copies the entire contents of the collection to a new array of ViewDescription 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.) |
Remarks
A ViewDescriptionCollection instance is associated with a scope node and contains the supported view descriptions for the scope node.
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
ScopeNode
Microsoft.ManagementConsole Namespace
Return to top