ToolBarMenuButton.AddMenuItem 方法

将使用指定的参数的菜单项添加到工具栏菜单按钮。

重载 列表

  名称 说明
公共方法 AddMenuItem(String, String, String, String, String, String) 将菜单项添加到具有指定标识符工具栏菜单按钮,显示名称、 图像 URL 说明,请导航 URL 和脚本。
公共方法 AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) 将菜单项添加具有指定标识符,显示名称、 URL 说明,请导航 URL、 上单击脚本、 所需的权限和上下文。

页首

另请参阅

引用

ToolBarMenuButton 类

ToolBarMenuButton 成员

Microsoft.SharePoint.WebControls 命名空间