Share via


SPField.XPath property

Gets or sets the XPath expression to the field.

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

Syntax

'Declaration
Public Property XPath As String
    Get
    Set
'Usage
Dim instance As SPField
Dim value As String

value = instance.XPath

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

Property value

Type: System.String
A string that contains the XPath expression.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace