CommandBarsClass.AddEx(Object, Object, Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a command bar, including its protection level.
virtual Microsoft::VisualStudio::CommandBars::CommandBar AddEx(winrt::Windows::Foundation::IInspectable const & TbidOrName, winrt::Windows::Foundation::IInspectable const & Position, winrt::Windows::Foundation::IInspectable const & MenuBar, winrt::Windows::Foundation::IInspectable const & Temporary, winrt::Windows::Foundation::IInspectable const & TbtrProtection);
[System.Runtime.InteropServices.DispId(1610809366)]
[System.Runtime.InteropServices.TypeLibFunc(64)]
public virtual Microsoft.VisualStudio.CommandBars.CommandBar AddEx (object TbidOrName, object Position, object MenuBar, object Temporary, object TbtrProtection);
[<System.Runtime.InteropServices.DispId(1610809366)>]
[<System.Runtime.InteropServices.TypeLibFunc(64)>]
abstract member AddEx : obj * obj * obj * obj * obj -> Microsoft.VisualStudio.CommandBars.CommandBar
override this.AddEx : obj * obj * obj * obj * obj -> Microsoft.VisualStudio.CommandBars.CommandBar
Public Overridable Function AddEx (Optional TbidOrName As Object, Optional Position As Object, Optional MenuBar As Object, Optional Temporary As Object, Optional TbtrProtection As Object) As CommandBar
Parameters
- TbidOrName
- Object
The name of the command bar.
- Position
- Object
The MsoBarPosition.
- MenuBar
- Object
true
if the command bar is a menu bar, otherwise false
.
- Temporary
- Object
true
if the bar is temporary, otherwise false
.
- TbtrProtection
- Object
The MsoBarProtection.
Returns
The newly-added CommandBar.
Implements
- Attributes