다음을 통해 공유


ToolBarMenuButton.GetMenuControl Method

Gets a menu control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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