Partager via


PortalSiteMapDataSource.SwitchablePropertiesXml - Propriété

Prend en charge l'initialisation de la collection d'objets SwitchableProperty lorsque l'objet PortalSiteMapDataSource est chargée via un objet DelegateControl .

Espace de noms :  Microsoft.SharePoint.Publishing.Navigation
Assembly :  Microsoft.SharePoint.Publishing (dans Microsoft.SharePoint.Publishing.dll)

Syntaxe

'Déclaration
Public Property SwitchablePropertiesXml As String
    Get
    Set
'Utilisation
Dim instance As PortalSiteMapDataSource
Dim value As String

value = instance.SwitchablePropertiesXml

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

Valeur de propriété

Type : System.String

Remarques

Microsoft recommande l'utilisation de la propriété SwitchableProperties dans la plupart des cas. La propriété SwitchablePropertiesXml existe pour prendre en charge le cas où l'objet PortalMapDataSource est initialisé via la classe DelegateControl . Dans ce cas, la classe ParseChildrenAttribute n'est pas pris en charge, afin que le code XML est affecté sous la forme d'une chaîne de texte CDATA.

Voir aussi

Référence

PortalSiteMapDataSource classe

PortalSiteMapDataSource - Membres

Microsoft.SharePoint.Publishing.Navigation - Espace de noms