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