Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NCommandParent Class / ContainsMenu Method


In This Topic
    ContainsMenu Method
    In This Topic
    Determines whether the specified menu is a child one of any command contained within this parent.
    Syntax
    'Declaration
     
    
    Public Overridable Function ContainsMenu( _
       ByVal menu As NMenuWindow _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NCommandParent
    Dim menu As NMenuWindow
    Dim value As System.Boolean
     
    value = instance.ContainsMenu(menu)
    public virtual System.bool ContainsMenu( 
       NMenuWindow menu
    )

    Parameters

    menu
    The menu window to check for.

    Return Value

    True if the menu is contained, false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also