Compartir a través de


Folder.ItemCount Property

Gets a value that specifies the count of items in the list folder.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ItemCount As Integer
    Get
'Usage
Dim instance As Folder
Dim value As Integer

value = instance.ItemCount
[RemoteAttribute]
public int ItemCount { get; }

Property Value

Type: System.Int32
Returns a Int32 instance representing the count of items in the list folder.

Exceptions

Exception Condition
[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

See Also

Reference

Folder Class

Folder Members

Microsoft.SharePoint.Client Namespace