Partager via


ToolBarMenuButton.GetMenuControl method

Gets a menu control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetMenuControl ( _
    childControl As Control _
) As ToolBarMenuButton
'Usage
Dim childControl As Control
Dim returnValue As ToolBarMenuButton

returnValue = ToolBarMenuButton.GetMenuControl(childControl)
public static ToolBarMenuButton GetMenuControl(
    Control childControl
)

Parameters

Return value

Type: Microsoft.SharePoint.WebControls.ToolBarMenuButton
The control.

Exceptions

Exception Condition
ArgumentNullException

The childControl input parameter is null.

See also

Reference

ToolBarMenuButton class

ToolBarMenuButton members

Microsoft.SharePoint.WebControls namespace