共用方式為


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, all other properties are ignored when the HtmlMenuItem is rendered.

See Also

Reference

HtmlMenuItem Class

HtmlMenuItem Members

Microsoft.SharePoint.Portal.WebControls Namespace