PortalSiteMapDataSource.SwitchableProperties property

Gets or sets settings that vary depending on which SiteMapProvider object is active.

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

Syntax

'Declaration
Public ReadOnly Property SwitchableProperties As Collection(Of SwitchableProperty)
    Get
'Usage
Dim instance As PortalSiteMapDataSource
Dim value As Collection(Of SwitchableProperty)

value = instance.SwitchableProperties
public Collection<SwitchableProperty> SwitchableProperties { get; }

Property value

Type: System.Collections.ObjectModel.Collection<SwitchableProperty>
Switchable property settings.

Remarks

This property is used with the SwitchableSiteMapProvider object. Normally, the SwitchableProperties property is initialized from child XML elements in the page via the ParseChildrenAttribute mode.

See also

Reference

PortalSiteMapDataSource class

PortalSiteMapDataSource members

Microsoft.SharePoint.Publishing.Navigation namespace

SwitchableProperty