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
Boolean value that represents whether to encode.
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.