SPListItemCollection.NumberOfFields property

Gets the number of fields that are represented in the collection.

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

public int NumberOfFields { get; }

Property value

Type: System.Int32
A 32-bit integer that indicates the number of fields.
Show: