Partager via


IVsDataExplorerNodeSelection Interface

Represents a group of currently selected nodes in the Visual Studio Server Explorer, together with a set of properties and actions.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Déclaration
<CLSCompliantAttribute(False)> _
Public Interface IVsDataExplorerNodeSelection _
    Inherits ICollection(Of IVsDataExplorerNode), IEnumerable(Of IVsDataExplorerNode),  _
    IEnumerable
[CLSCompliantAttribute(false)]
public interface IVsDataExplorerNodeSelection : ICollection<IVsDataExplorerNode>, 
    IEnumerable<IVsDataExplorerNode>, IEnumerable
[CLSCompliantAttribute(false)]
public interface class IVsDataExplorerNodeSelection : ICollection<IVsDataExplorerNode^>, 
    IEnumerable<IVsDataExplorerNode^>, IEnumerable
[<CLSCompliantAttribute(false)>]
type IVsDataExplorerNodeSelection =  
    interface
        interface ICollection<IVsDataExplorerNode>
        interface IEnumerable<IVsDataExplorerNode>
        interface IEnumerable
    end
public interface IVsDataExplorerNodeSelection extends ICollection<IVsDataExplorerNode>, IEnumerable<IVsDataExplorerNode>, IEnumerable

The IVsDataExplorerNodeSelection type exposes the following members.

Properties

  Name Description
Public property CanCopyAll Gets a value indicating whether the group of currently selected nodes in Server Explorer can be copied to the Clipboard.
Public property CanCutAll Gets a value indicating whether the group of currently selected nodes in Server Explorer can be cut.
Public property CanDeleteAll Gets a value indicating whether the group of currently selected nodes in Server Explorer can be deleted.
Public property CanOpenAll Gets a value indicating whether the group of currently selected nodes in Server Explorer can be opened.
Public property Count Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.)
Public property IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IVsDataExplorerNode>.)
Public property Item[Int32] Gets the node specified by its numerical identifier from the group of selected nodes in Server Explorer.
Public property Item[String] Gets the node specified by its full name from the group of selected nodes in Server Explorer.

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method CollapseAll Collapses all the nodes present in the node selection.
Public method Contains(Int32) Indicates whether the group of selected nodes contains the node specified by its numerical identifier value.
Public method Contains(String) Indicates whether the group of selected nodes contains the node specified by its full name.
Public method Contains(T) Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method Contains(IVsDataObject) Indicates whether the group of selected nodes contains the node specified as a data object.
Public method Contains(String, array<Object[]) Indicates whether the group of selected nodes contains the node specified by its full name.
Public method CopyAll Copies all the nodes present in the group of selected nodes to the Clipboard.
Public method CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method CutAll Copies all the nodes present in the group of selected nodes to the Clipboard, and then deletes them.
Public method DeleteAll Deletes all the nodes present in the group of selected nodes.
Public method DoDefaultActionOnAll Executes the default command, if any, on the group of selected nodes.
Public method ExpandAll Expands all the nodes present in the group of selected nodes.
Public method Find(IVsDataObject) Retrieves the specified node from the group of selected nodes.
Public method Find(String, array<Object[]) Retrieves the specified node from the group of selected nodes.
Public method GetCommand Gets a menu command corresponding to the specified CommandID value for the group of selected nodes.
Public method GetEnumerator() Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IVsDataExplorerNode>.)
Public method GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method OpenAllDocuments Opens all the nodes in the group of selected nodes as document window frames in the Visual Studio environment.
Public method RefreshAll() Refreshes all the nodes in the group node selection (and their child nodes if any are expanded in Server Explorer) asynchronously.
Public method RefreshAll(Boolean) Refreshes all the nodes in the group node selection (and their child nodes if any are expanded in Server Explorer).
Public method Remove(Int32) Removes the node specified by its numerical identifier value from the node selection group.
Public method Remove(String) Removes the node specified by its full name from the node selection group.
Public method Remove(T) Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.)
Public method Remove(IVsDataObject) Removes the node specified by a data object from the node selection group.
Public method Remove(String, array<Object[]) Removes the specified node from the node selection group.

Top

Remarks

This interface is implemented as a built-in DDEX service.

See Also

Reference

Microsoft.VisualStudio.Data.Services Namespace