Share via


SPPolicyRoleCollection.Count property

Gets the number of policies in the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

Property value

Type: System.Int32
A 32-bit integer that indicates the number of policies.

See also

Reference

SPPolicyRoleCollection class

SPPolicyRoleCollection members

Microsoft.SharePoint.Administration namespace