Export (0) Print
Expand All

SPListItem.Fields property

Gets or sets the collection of all fields in the parent of the item.

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

'Declaration
Public Overrides Property Fields As SPFieldCollection
	Get
	Set
'Usage
Dim instance As SPListItem
Dim value As SPFieldCollection

value = instance.Fields

instance.Fields = value

Property value

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

Using the Fields property on a list item object has identical results to calling ParentList.Fields .on the list item object.

Show:
© 2014 Microsoft