共用方式為


SPField.Scope Property

Gets the Web site-relative path to the list in which the field collection is used.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Scope As String
    Get
'Usage
Dim instance As SPField
Dim value As String

value = instance.Scope
[ClientCallableAttribute]
public string Scope { get; }

Property Value

Type: System.String
A string that contains the Web site-relative path to the parent list.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace