MenuItemTemplate Constructor (String, String)
Initializes a new instance of the MenuItemTemplate class and uses the specified menu item text and image.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
text As String, _
imageUrl As String _
)
'Usage
Dim text As String
Dim imageUrl As String
Dim instance As New MenuItemTemplate(text, imageUrl)
public MenuItemTemplate(
string text,
string imageUrl
)
Parameters
text
Type: System.StringA String that represents the menu item text.
imageUrl
Type: System.StringA String that represents the URL for the image.