Share via


MenuItemTemplate.ImageUrl Property

Sets or retrieves the URL of the image to be displayed on this menu item.

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

Syntax

'Declaration
Public Property ImageUrl As String
    Get
    Set
'Usage
Dim instance As MenuItemTemplate
Dim value As String

value = instance.ImageUrl

instance.ImageUrl = value
public string ImageUrl { get; set; }

Property Value

Type: System.String
A String that represents the URL.

See Also

Reference

MenuItemTemplate Class

MenuItemTemplate Members

Microsoft.SharePoint.WebControls Namespace