获取名称/值对集合与当前服务器资源管理器连接,并在注册表中保存对命令。
命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。