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 ReadOnly Property Fields As SPFieldCollection
Dim instance As SPContext
Dim value As SPFieldCollection

value = instance.Fields
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.

See also


SPContext class

SPContext members

Microsoft.SharePoint namespace