Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of groups 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 SPGroupCollection
Dim value As Integer
value = instance.Count
public override int Count { get; }
Property Value
Type: System.Int32
A 32-bit integer that indicates the number of groups.