SelectedNodeCollection Class

 

This sealed class represents a collection of selected nodes in a list view. This collection cannot be modified by the snap-in.

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

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.SelectedNodeCollection

Syntax

public sealed class SelectedNodeCollection : ICollection, IEnumerable
public ref class SelectedNodeCollection sealed : ICollection, 
    IEnumerable
[<Sealed>]
type SelectedNodeCollection = 
    class
        interface ICollection
        interface IEnumerable
    end
Public NotInheritable Class SelectedNodeCollection
    Implements ICollection, IEnumerable

Properties

Name Description
System_CAPS_pubproperty Count

Gets the number of items in the collection.

System_CAPS_pubproperty Item[Int32]

Gets the item at the specified index.

Methods

Name Description
System_CAPS_pubmethod Contains(Node)

Determines whether the collection contains a specific node.

System_CAPS_pubmethod CopyTo(Node[], Int32)

Copies the nodes in the collection to a destination array, starting at a particular array index.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(Node)

Determines the index of a specified node in the collection.

System_CAPS_pubmethod ToArray()

Copies the elements of the selected node collection to a new node array.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.SyncRoot

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

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

Node
Microsoft.ManagementConsole

Return to top