SPList.Fields property

Gets the collection of field objects that represents all the fields in the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public ReadOnly Property Fields As SPFieldCollection
Dim instance As SPList
Dim value As SPFieldCollection

value = instance.Fields
public SPFieldCollection Fields { get; }

Property value

Type: Microsoft.SharePoint.SPFieldCollection
An SPFieldCollection object that represents the fields.

See also


SPList class

SPList members

Microsoft.SharePoint namespace