SPListItemCollection.Count property
取得在集合中,排除資料夾的清單項目的數目。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides ReadOnly Property Count As Integer
Get
'用途
Dim instance As SPListItemCollection
Dim value As Integer
value = instance.Count
public override int Count { get; }
Property value
Type: System.Int32
32 位元整數,指出清單項目數目排除的資料夾。
Implements
備註
SPList類別的ItemCount屬性的值會包含資料夾和子資料夾中的檔案。