Share via


Menu.ImageUrl Property

Gets or sets the URL of the image to be displayed with the link text.

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 Menu
Dim value As String

value = instance.ImageUrl

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

Property Value

Type: System.String
The image URL. The default is “ ” (an empty string).

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebControls Namespace