SPWebConfigModification.Path property

Gets or sets the XPath expression that is used to locate the node that is being operated on.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Path As String
    Get
    Set
'Usage
Dim instance As SPWebConfigModification
Dim value As String

value = instance.Path

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

Property value

Type: System.String
A string that contains an XPath expression that specifies the node. If the Type property specifies EnsureChildNode, the Path property contains the XPath expression for the parent node under which the node is created. For example, the following string specifies the path to specify for safe control entries: "/configuration/SharePoint/SafeControls".

See also

Reference

SPWebConfigModification class

SPWebConfigModification members

Microsoft.SharePoint.Administration namespace