SPFolder.ItemCount property
取得包含子資料夾,此資料夾中的直接子系數目。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ItemCount As Integer
Get
'用途
Dim instance As SPFolder
Dim value As Integer
value = instance.ItemCount
public int ItemCount { get; }
Property value
Type: System.Int32
傳回Int32表示包含在此資料夾中的項目數目。