Share via


ScopeNodeCollection Class

 

This is a sealed class that represents a collection of ScopeNode objects.

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

Inheritance Hierarchy

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

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod ScopeNodeCollection()

Initializes a new instance of the ScopeNodeCollection class.

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 ScopeNode object 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(ScopeNode)

Adds a ScopeNode object to the end of the collection.

System_CAPS_pubmethod AddRange(ScopeNode[])

Adds an array of ScopeNode objects 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. (Inherited from BaseCollection.)

System_CAPS_pubmethod Contains(ScopeNode)

Determines whether a specific ScopeNode object is in the collection.

System_CAPS_pubmethod CopyTo(ScopeNode[], Int32)

Copies the contents of the collection to a ScopeNode 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(ScopeNode)

Determines the index of a specific ScopeNode object in the collection.

System_CAPS_pubmethod Insert(Int32, ScopeNode)

Inserts a ScopeNode object into the collection.

System_CAPS_pubmethod InsertRange(Int32, ScopeNode[])

Inserts an array of ScopeNode objects into the collection at the specified index.

System_CAPS_pubmethod Remove(ScopeNode)

Removes the first occurrence of a specific ScopeNode object 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 ScopeNode 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