共用方式為


AspMenu.EncodeTitle property

Controls whether or not to HTML-encode the title value. The default ASP.NET 2.0 menu did not encode the title so this option is provided for backwards-compatibility.

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

Syntax

'Declaration
Public Property EncodeTitle As Boolean
    Get
    Set
'Usage
Dim instance As AspMenu
Dim value As Boolean

value = instance.EncodeTitle

instance.EncodeTitle = value
public bool EncodeTitle { get; set; }

Property value

Type: System.Boolean
Returns Boolean.

See also

Reference

AspMenu class

AspMenu members

Microsoft.SharePoint.WebControls namespace