Share via


DTE2.Commands Property

Gets the Commands collection.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
ReadOnly Property Commands As Commands
Commands Commands { get; }
property Commands^ Commands {
    Commands^ get ();
}
abstract Commands : Commands with get
function get Commands () : Commands

Property Value

Type: EnvDTE.Commands
A Commands collection.

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

EnvDTE80 Namespace