Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Fields property

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.

© 2015 Microsoft