SPContext.Fields property

Gets the fields metadata associated with the item or content type of the Microsoft SharePoint Foundation context.

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.

The Fields property can be used to provide metadata about the SPItem object of the SharePoint Foundation context.