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, 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)

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);
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
imageUrl
String String String
description
String String String
navigateUrl
String String String
onClickScript
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)

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);
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
imageUrl
String String String
description
String String String
navigateUrl
String String String
onClickScript
String String String
Returns

Applies to