Fields property
Collapse the table of content
Expand the table of content

SPWeb.Fields property

Gets the collection of field objects that represents all the fields in the website.

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

public SPFieldCollection Fields { get; }

Property value

Type: Microsoft.SharePoint.SPFieldCollection
An SPFieldCollection object that represents the fields.
© 2015 Microsoft