共用方式為


SPField.XPath Property

Gets or sets the XPath expression to the field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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