Share via


SPForm.ParentList property

Gets the parent list of the form.

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

Syntax

'Declaration
Public ReadOnly Property ParentList As SPList
    Get
'Usage
Dim instance As SPForm
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 list.

See also

Reference

SPForm class

SPForm members

Microsoft.SharePoint namespace