Forms property
TOC
Collapse the table of content
Expand the table of content

SPList.Forms property

Gets a collection of form objects that represent the forms that are used in creating, editing, or displaying items in the list.

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

public SPFormCollection Forms { get; }

Property value

Type: Microsoft.SharePoint.SPFormCollection
A collection of SPForm objects that represent the forms.

The Forms property only returns forms that are part of the original list schema and does not return custom forms, even if they are created in a Web page editor that is compatible with SharePoint Foundation.

Show:
© 2016 Microsoft