共用方式為


IVsDataExplorerNodeSelection 介面

定義

重要

此 API 不符合 CLS 規範。

表示數據總管連接節點目前的選取範圍。

public interface class IVsDataExplorerNodeSelection : System::Collections::Generic::ICollection<Microsoft::VisualStudio::Data::Services::IVsDataExplorerNode ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Data::Services::IVsDataExplorerNode ^>
[System.CLSCompliant(false)]
public interface IVsDataExplorerNodeSelection : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode>
public interface IVsDataExplorerNodeSelection : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode>
[<System.CLSCompliant(false)>]
type IVsDataExplorerNodeSelection = interface
    interface ICollection<IVsDataExplorerNode>
    interface seq<IVsDataExplorerNode>
    interface IEnumerable
type IVsDataExplorerNodeSelection = interface
    interface ICollection<IVsDataExplorerNode>
    interface seq<IVsDataExplorerNode>
    interface IEnumerable
Public Interface IVsDataExplorerNodeSelection
Implements ICollection(Of IVsDataExplorerNode), IEnumerable(Of IVsDataExplorerNode)
屬性
實作

屬性

CanCopyAll

取得值,指出伺服器總管中目前選取的節點群組是否可以複製到剪貼簿。

CanCutAll

取得值,指出是否可以剪下伺服器總管中目前選取節點的群組。

CanDeleteAll

取得值,指出是否可以刪除伺服器總管中目前選取節點的群組。

CanOpenAll

取得值,指出是否可以開啟伺服器總管中目前選取節點的群組。

Item[Int32]

從伺服器總管中選取的節點群組中,取得由其數值標識元指定的節點。

Item[String]

從伺服器總管中選取的節點群組中,取得其完整名稱所指定的節點。

方法

CollapseAll()

折疊節點選取範圍中的所有節點。

Contains(Int32)

指出所選節點群組是否包含其數值識別碼值所指定的節點。

Contains(IVsDataObject)

指出所選節點的群組是否包含指定為資料對象的節點。

Contains(String)

指出所選節點的群組是否包含其完整名稱所指定的節點。

Contains(String, Object[])

指出所選節點的群組是否包含其完整名稱所指定的節點。

CopyAll()

將所有存在於所選節點群組中的節點複製到剪貼簿。

CutAll()

將選取節點群組中的所有節點複製到剪貼簿,然後刪除它們。

DeleteAll()

刪除所有存在於所選節點群組中的節點。

DoDefaultActionOnAll()

在所選節點群組上執行預設命令,如果有的話。

ExpandAll()

展開所選取節點群組中的所有節點。

Find(IVsDataObject)

從選取的節點群組擷取指定的節點。

Find(String, Object[])

從選取的節點群組擷取指定的節點。

GetCommand(CommandID)

取得對應至所選取節點群組之指定 CommandID 值的功能表命令。

OpenAllDocuments()

開啟選取節點群組中的所有節點,作為 Visual Studio 環境中的文檔視窗框架。

RefreshAll()

如果伺服器總管) 異步展開,請重新整理群組節點選取範圍中的所有節點 (及其子節點。

RefreshAll(Boolean)

如果 [伺服器總管]) 中展開任何節點,請重新整理群組節點選取範圍中的所有節點 (及其子節點。

Remove(Int32)

從節點選取群組中移除節點的數值識別碼值所指定的節點。

Remove(IVsDataObject)

從節點選取群組中移除資料物件指定的節點。

Remove(String)

從節點選取群組中移除其完整名稱所指定的節點。

Remove(String, Object[])

從節點選取群組中移除指定的節點。

擴充方法

EmptyIfNull<T>(IEnumerable<T>)

如果不是 Null,則傳回這個列舉。 如果是 null,則傳回空列舉。

適用於