SPList.Fields Property
Gets the collection of field objects that represents all the fields in the list.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)] [ClientCallableAttribute] public SPFieldCollection Fields { get; }
Property Value
Type: Microsoft.SharePoint.SPFieldCollectionAn SPFieldCollection object that represents the fields.