Export (0) Print
Expand All
ID
Top
Expand Minimize

CommandBars Property (DTE Object)

Visual Studio .NET 2003

Returns a reference to the development environment's CommandBars object.

[Visual Basic .NET]
Public ReadOnly Property CommandBars() As CommandBars
[Visual Basic 6]
Property Get CommandBars() As CommandBars
[C++]
HRESULT __stdcall get_CommandBars(
   /* [out, retval] */ CommandBars** retVal
);
[C#]
public CommandBars CommandBars {get;}
[JScript .NET]
public function get CommandBars() : CommandBars

Remarks

The CommandBars object is a part of the Microsoft Office type library (mso.dll).

Example

Sub CommandBarsExample()
  MsgBox(DTE.CommandBars.Count)
End Sub

See Also

Commands Collection

Applies To: DTE Object

Show:
© 2014 Microsoft