SPWeb.Fields property
SharePoint 2013
Gets the collection of field objects that represents all the fields in the website.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableAttribute] [ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)] public SPFieldCollection Fields { get; }
Property value
Type: Microsoft.SharePoint.SPFieldCollectionAn SPFieldCollection object that represents the fields.