SPPermissionCollection.Count Property
NOTE: This API is now obsolete.
Gets the number of permissions in the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")> _
Public Overrides ReadOnly Property Count As Integer
Get
'Usage
Dim instance As SPPermissionCollection
Dim value As Integer
value = instance.Count
[ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")]
public override int Count { get; }
Property Value
Type: System.Int32
A 32-bit integer that specifies the number of permissions.