SPPolicy.SPPolicyRoleBindingCollection.Count property

Gets the number of policy roles in the binding.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPPolicy.SPPolicyRoleBindingCollection
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 policy roles.

Implements

ICollection.Count

See also

Reference

SPPolicy.SPPolicyRoleBindingCollection class

SPPolicy.SPPolicyRoleBindingCollection members

Microsoft.SharePoint.Administration namespace