DTE2.Commands 属性

定义

获取 Commands 集合。

public:
 property EnvDTE::Commands ^ Commands { EnvDTE::Commands ^ get(); };
[System.Runtime.InteropServices.DispId(210)]
public EnvDTE.Commands Commands { [System.Runtime.InteropServices.DispId(210)] get; }
[<System.Runtime.InteropServices.DispId(210)>]
[<get: System.Runtime.InteropServices.DispId(210)>]
member this.Commands : EnvDTE.Commands
Public ReadOnly Property Commands As Commands

属性值

Commands

一个 Commands 集合。

实现

属性

示例

Sub CommandsExample()  
  MsgBox(DTE2.Commands.Count)  
End Sub  

适用于