SPRoleDefinitionBindingCollection members

Defines the role definitions that are bound to a role assignment object.

The SPRoleDefinitionBindingCollection type exposes the following members.

Constructors

  Name Description
Public method SPRoleDefinitionBindingCollection Initializes a new instance of the SPRoleDefinitionBindingCollection class.

Top

Properties

  Name Description
Public property Count Gets the number of role definitions in the binding collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the role definition at the specified index in the collection.
Public property Xml Gets the role definitions of the binding collection in XML format.

Top

Methods

  Name Description
Public method Add Adds the specified role definition to the binding collection.
Public method Contains Returns a Boolean value that indicates whether the specified role definition is in the binding collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Int32) Removes the role definition at the specified index in the collection.
Public method Remove(SPRoleDefinition) Removes the specified role definition from the binding collection.
Public method RemoveAll Removes all role definitions from the binding collection.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See also

Reference

SPRoleDefinitionBindingCollection class

Microsoft.SharePoint namespace