Partager via


SPWebConfigModification.Path - Propriété

Obtient ou définit l'expression XPath qui est utilisée pour rechercher le nœud qui fonctionne.

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

Syntaxe

'Déclaration
Public Property Path As String
    Get
    Set
'Utilisation
Dim instance As SPWebConfigModification
Dim value As String

value = instance.Path

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

Valeur de propriété

Type : System.String
Chaîne qui contient une expression XPath qui spécifie le nœud. Si la propriété Type spécifie EnsureChildNode, la propriété Path contient l'expression XPath du nœud parent sous lequel le nœud est créé. Par exemple, la chaîne suivante spécifie le chemin d'accès pour les entrées de contrôle sécurisé: «/configuration/SharePoint/SafeControls».

Voir aussi

Référence

SPWebConfigModification classe

SPWebConfigModification - Membres

Microsoft.SharePoint.Administration - Espace de noms