共用方式為


IVsDataExplorerNodeSelection.DoDefaultActionOnAll 方法

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

命名空間:  Microsoft.VisualStudio.Data.Services
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Function DoDefaultActionOnAll As Boolean
bool DoDefaultActionOnAll()
bool DoDefaultActionOnAll()
abstract DoDefaultActionOnAll : unit -> bool
function DoDefaultActionOnAll() : boolean

傳回值

類型:Boolean
true ,如果預設命令在選取的節點執行, false ,則這個方法並未在執行至少一個節點的預設命令在選取範圍。

備註

這個方法會在選取的節點逐一查看清單並在每個節點的 DoDefaultAction 方法。

.NET Framework 安全性

請參閱

參考

IVsDataExplorerNodeSelection 介面

Microsoft.VisualStudio.Data.Services 命名空間

DoDefaultAction