获取命令与当前节点。
命名空间: 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> with get
function get Commands () : IDictionary<CommandID, IVsDataViewCommandInfo>
属性值
类型:IDictionary<CommandID, IVsDataViewCommandInfo>
命令与当前节点,作为名称/值对包含命令ID及其相应的 IVsDataViewCommandInfo 对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。