获取命令与当前节点。
命名空间: Microsoft.VisualStudio.Data.Services
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
ReadOnly Property Commands As IDictionary(Of CommandID, IVsDataViewCommandInfo)
IDictionary<CommandID, IVsDataViewCommandInfo> Commands { get; }
property IDictionary<CommandID^, IVsDataViewCommandInfo^>^ Commands {
IDictionary<CommandID^, IVsDataViewCommandInfo^>^ get ();
}
abstract Commands : IDictionary<CommandID, IVsDataViewCommandInfo>
function get Commands () : IDictionary<CommandID, IVsDataViewCommandInfo>
属性值
类型:System.Collections.Generic.IDictionary<CommandID, IVsDataViewCommandInfo>
命令与当前节点,作为名称/值对包含命令ID及其相应的 IVsDataViewCommandInfo 对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。