Share via


HtmlMenuItem.ImageURL Property

Gets or sets the URL image of the menu item.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Property ImageURL As String
    Get
    Set
'Usage
Dim instance As HtmlMenuItem
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 image of the menu item.

Remarks

If the Separator property is true, the Text, TargetURL, and ImageURL properties are not used.

See Also

Reference

HtmlMenuItem Class

HtmlMenuItem Members

Microsoft.SharePoint.Portal.WebControls Namespace