Share via


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)

Syntax

Public ReadOnly Property Forms As SPFormCollection
    Get

Dim instance As SPList
Dim value As SPFormCollection

value = instance.Forms
public SPFormCollection Forms { get; }

Property Value

Type: Microsoft.SharePoint.SPFormCollection
An SPFormCollection object that represents the forms.

Remarks

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 Windows SharePoint Services.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace