共用方式為


IVsDataViewCommandInfo.CommandId 屬性

取得唯一識別命令的 CommandID

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

語法

'宣告
ReadOnly Property CommandId As CommandID
CommandID CommandId { get; }
property CommandID^ CommandId {
    CommandID^ get ();
}
abstract CommandId : CommandID
function get CommandId () : CommandID

屬性值

型別:System.ComponentModel.Design.CommandID
唯一識別命令的 CommandID

.NET Framework 安全性

請參閱

參考

IVsDataViewCommandInfo 介面

Microsoft.VisualStudio.Data.Services 命名空間