共用方式為


SPListItemCollection.NumberOfFields property

取得集合中的表示的欄位數目。

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

Syntax

'宣告
Public ReadOnly Property NumberOfFields As Integer
    Get
'用途
Dim instance As SPListItemCollection
Dim value As Integer

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

Property value

Type: System.Int32
32 位元的整數,指出欄位數目。

請參閱

參照

SPListItemCollection class

SPListItemCollection members

Microsoft.SharePoint namespace