SPField.ParentList Property

Gets the parent list that contains the field.

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

Syntax

'Declaration
Public ReadOnly Property ParentList As SPList
    Get
'Usage
Dim instance As SPField
Dim value As SPList

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

Property Value

Type: Microsoft.SharePoint.SPList
A Microsoft.SharePoint.SPList object that represents the parent list.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace