Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NCommandBar Class / CreateAddRemoveMenuItem Method / CreateAddRemoveMenuItem(NCommandBar) Method


In This Topic
    CreateAddRemoveMenuItem(NCommandBar) Method
    In This Topic
    Creates a menu item that should be placed in the "Add/Remove" root menu item, and that represents the specified command bar.
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Function CreateAddRemoveMenuItem( _
       ByVal bar As NCommandBar _
    ) As NMenuItem
    'Usage
     
    
    Dim instance As NCommandBar
    Dim bar As NCommandBar
    Dim value As NMenuItem
     
    value = instance.CreateAddRemoveMenuItem(bar)
    protected virtual NMenuItem CreateAddRemoveMenuItem( 
       NCommandBar bar
    )

    Parameters

    bar
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also