共用方式為


IVsDataViewHierarchy.PersistentCommands 屬性

取得的名稱/值組的集合與目前伺服器總管連接,並在登錄中儲存命令。

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

語法

'宣告
ReadOnly Property PersistentCommands As IDictionary(Of CommandID, Integer)
IDictionary<CommandID, int> PersistentCommands { get; }
property IDictionary<CommandID^, int>^ PersistentCommands {
    IDictionary<CommandID^, int>^ get ();
}
abstract PersistentCommands : IDictionary<CommandID, int>
function get PersistentCommands () : IDictionary<CommandID, int>

屬性值

型別:System.Collections.Generic.IDictionary<CommandID, Int32>
名稱/值組集合表示 CommandID 物件和狀態和已儲存的命令對應。

.NET Framework 安全性

請參閱

參考

IVsDataViewHierarchy 介面

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間