Share via


DTE2.Commands Property

Gets the Commands collection.

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

Syntax

'Declaration
ReadOnly Property Commands As Commands
'Usage
Dim instance As DTE2 
Dim value As Commands 

value = instance.Commands
Commands Commands { get; }
property Commands^ Commands {
    Commands^ get ();
}
function get Commands () : Commands

Property Value

Type: EnvDTE.Commands
A Commands collection.

Implements

_DTE.Commands

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

DTE2 Members

Commands Overload

EnvDTE80 Namespace