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
'宣言
<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 | |
---|---|---|
CanCopyAll | Gets a value indicating whether the group of currently selected nodes in Server Explorer can be copied to the Clipboard. | |
CanCutAll | Gets a value indicating whether the group of currently selected nodes in Server Explorer can be cut. | |
CanDeleteAll | Gets a value indicating whether the group of currently selected nodes in Server Explorer can be deleted. | |
CanOpenAll | Gets a value indicating whether the group of currently selected nodes in Server Explorer can be opened. | |
Count | Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.) | |
IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IVsDataExplorerNode>.) | |
Item[Int32] | Gets the node specified by its numerical identifier from the group of selected nodes in Server Explorer. | |
Item[String] | Gets the node specified by its full name from the group of selected nodes in Server Explorer. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.) | |
Clear | Removes all items from the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.) | |
CollapseAll | Collapses all the nodes present in the node selection. | |
Contains(Int32) | Indicates whether the group of selected nodes contains the node specified by its numerical identifier value. | |
Contains(String) | Indicates whether the group of selected nodes contains the node specified by its full name. | |
Contains(T) | Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IVsDataExplorerNode>.) | |
Contains(IVsDataObject) | Indicates whether the group of selected nodes contains the node specified as a data object. | |
Contains(String, array<Object[]) | Indicates whether the group of selected nodes contains the node specified by its full name. | |
CopyAll | Copies all the nodes present in the group of selected nodes to the Clipboard. | |
CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IVsDataExplorerNode>.) | |
CutAll | Copies all the nodes present in the group of selected nodes to the Clipboard, and then deletes them. | |
DeleteAll | Deletes all the nodes present in the group of selected nodes. | |
DoDefaultActionOnAll | Executes the default command, if any, on the group of selected nodes. | |
ExpandAll | Expands all the nodes present in the group of selected nodes. | |
Find(IVsDataObject) | Retrieves the specified node from the group of selected nodes. | |
Find(String, array<Object[]) | Retrieves the specified node from the group of selected nodes. | |
GetCommand | Gets a menu command corresponding to the specified CommandID value for the group of selected nodes. | |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IVsDataExplorerNode>.) | |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
OpenAllDocuments | Opens all the nodes in the group of selected nodes as document window frames in the Visual Studio environment. | |
RefreshAll() | Refreshes all the nodes in the group node selection (and their child nodes if any are expanded in Server Explorer) asynchronously. | |
RefreshAll(Boolean) | Refreshes all the nodes in the group node selection (and their child nodes if any are expanded in Server Explorer). | |
Remove(Int32) | Removes the node specified by its numerical identifier value from the node selection group. | |
Remove(String) | Removes the node specified by its full name from the node selection group. | |
Remove(T) | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IVsDataExplorerNode>.) | |
Remove(IVsDataObject) | Removes the node specified by a data object from the node selection group. | |
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.