SPListItemCollection.NumberOfFields property

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

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

Syntax

'Declaration
Public ReadOnly Property NumberOfFields As Integer
    Get
'Usage
Dim instance As SPListItemCollection
Dim value As Integer

value = instance.NumberOfFields
public int NumberOfFields { get; }

Property value

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

See also

Reference

SPListItemCollection class

SPListItemCollection members

Microsoft.SharePoint namespace