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)

Syntax

'Declaration
Public ReadOnly Property Fields As SPFieldCollection
    Get
'Usage
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.

Remarks

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

See also

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace