ToolBarMenuButton.AddMenuItem ToolBarMenuButton.AddMenuItem ToolBarMenuButton.AddMenuItem ToolBarMenuButton.AddMenuItem Method

Definition

Overloads

AddMenuItem(String, String, String, String, String, String) AddMenuItem(String, String, String, String, String, String) AddMenuItem(String, String, String, String, String, String) AddMenuItem(String, String, String, String, String, String)
AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext)

AddMenuItem(String, String, String, String, String, String) AddMenuItem(String, String, String, String, String, String) AddMenuItem(String, String, String, String, String, String) AddMenuItem(String, String, String, String, String, String)

public:
 virtual Microsoft::SharePoint::WebControls::MenuItemTemplate ^ AddMenuItem(System::String ^ id, System::String ^ displayName, System::String ^ imageUrl, System::String ^ description, System::String ^ navigateUrl, System::String ^ onClickScript);
public virtual Microsoft.SharePoint.WebControls.MenuItemTemplate AddMenuItem (string id, string displayName, string imageUrl, string description, string navigateUrl, string onClickScript);
abstract member AddMenuItem : string * string * string * string * string * string -> Microsoft.SharePoint.WebControls.MenuItemTemplate
override this.AddMenuItem : string * string * string * string * string * string -> Microsoft.SharePoint.WebControls.MenuItemTemplate
Public Overridable Function AddMenuItem (id As String, displayName As String, imageUrl As String, description As String, navigateUrl As String, onClickScript As String) As MenuItemTemplate

Parameters

displayName
String String String String
description
String String String String
navigateUrl
String String String String
onClickScript
String String String String

Returns

AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext) AddMenuItem(String, String, String, String, String, String, SPBasePermissions, PermissionContext)

public:
 virtual Microsoft::SharePoint::WebControls::MenuItemTemplate ^ AddMenuItem(System::String ^ id, System::String ^ displayName, System::String ^ imageUrl, System::String ^ description, System::String ^ navigateUrl, System::String ^ onClickScript, Microsoft::SharePoint::SPBasePermissions permissions, Microsoft::SharePoint::Utilities::PermissionContext context);
public virtual Microsoft.SharePoint.WebControls.MenuItemTemplate AddMenuItem (string id, string displayName, string imageUrl, string description, string navigateUrl, string onClickScript, Microsoft.SharePoint.SPBasePermissions permissions, Microsoft.SharePoint.Utilities.PermissionContext context);
abstract member AddMenuItem : string * string * string * string * string * string * Microsoft.SharePoint.SPBasePermissions * Microsoft.SharePoint.Utilities.PermissionContext -> Microsoft.SharePoint.WebControls.MenuItemTemplate
override this.AddMenuItem : string * string * string * string * string * string * Microsoft.SharePoint.SPBasePermissions * Microsoft.SharePoint.Utilities.PermissionContext -> Microsoft.SharePoint.WebControls.MenuItemTemplate
Public Overridable Function AddMenuItem (id As String, displayName As String, imageUrl As String, description As String, navigateUrl As String, onClickScript As String, permissions As SPBasePermissions, context As PermissionContext) As MenuItemTemplate

Parameters

displayName
String String String String
description
String String String String
navigateUrl
String String String String
onClickScript
String String String String

Returns

Applies to