PortalSiteMapProvider.EncodeOutput property

Gets or sets whether to HTML-encode the Title property of each PortalSiteMapNode object.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property EncodeOutput As Boolean
    Get
    Set
'Usage
Dim instance As PortalSiteMapProvider
Dim value As Boolean

value = instance.EncodeOutput

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

Property value

Type: System.Boolean
true to encode; otherwise, false.
This property value defaults to false.

Remarks

Use this property when attaching the provider to the ASP.NET Menu control, which does not HTML-encode the Title property.

See also

Reference

PortalSiteMapProvider class

PortalSiteMapProvider members

Microsoft.SharePoint.Publishing.Navigation namespace

PortalSiteMapProvider