共用方式為


SPField.ParentList property

取得包含欄位的上層清單。

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

Syntax

'宣告
Public ReadOnly Property ParentList As SPList
    Get
'用途
Dim instance As SPField
Dim value As SPList

value = instance.ParentList
public SPList ParentList { get; }

Property value

Type: Microsoft.SharePoint.SPList
Microsoft.SharePoint.SPList 物件,代表父清單。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace