Partilhar via


SPListCollection.Count Property

Gets the number of lists in the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPListCollection
Dim value As Integer

value = instance.Count
public override int Count { get; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the number of lists.

Implements

ICollection.Count

See Also

Reference

SPListCollection Class

SPListCollection Members

Microsoft.SharePoint Namespace