Share via


PortalSiteMapDataSource.SwitchablePropertiesXml property

Supports initialization of the collection of SwitchableProperty objects when the PortalSiteMapDataSource object is loaded via a DelegateControl object.

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

Syntax

'Declaration
Public Property SwitchablePropertiesXml As String
    Get
    Set
'Usage
Dim instance As PortalSiteMapDataSource
Dim value As String

value = instance.SwitchablePropertiesXml

instance.SwitchablePropertiesXml = value
public string SwitchablePropertiesXml { get; set; }

Property value

Type: System.String

Remarks

Microsoft recommends using the SwitchableProperties property in most cases. The SwitchablePropertiesXml property exists to support the case where the PortalMapDataSource object is initialized via the DelegateControl class. In this situation, the ParseChildrenAttribute class is not supported, so the XML is assigned as a CDATA text string.

See also

Reference

PortalSiteMapDataSource class

PortalSiteMapDataSource members

Microsoft.SharePoint.Publishing.Navigation namespace