Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RoleGroupCollection Methods

RoleGroupCollection Methods

The RoleGroupCollection type exposes the following members.

  Name Description
Public method Add Adds a role group to the end of the collection.
Public method Clear Removes all objects from the CollectionBase instance. This method cannot be overridden. (Inherited from CollectionBase.)
Public method Contains Indicates whether the collection contains the specified role group.
Public method CopyTo Copies all the items from the RoleGroupCollection collection to a compatible one-dimensional array of RoleGroup objects, starting at the specified index in the target array.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the CollectionBase instance. (Inherited from CollectionBase.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetMatchingRoleGroup Returns the first role group that contains the specified user account.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Searches the collection and returns the zero-based index of the first occurrence of the specified RoleGroup.
Public method Insert Adds a RoleGroup to the collection at the specified index.
Public method Remove Deletes the first occurrence of the specified role group from the collection.
Public method RemoveAt Removes the element at the specified index of the CollectionBase instance. This method is not overridable. (Inherited from CollectionBase.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.Add Adds an object to the end of the CollectionBase. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.Contains Determines whether the CollectionBase contains a specific element. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.IndexOf Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.Insert Inserts an element into the CollectionBase at the specified index. (Inherited from CollectionBase.)
Explicit interface implemetation Private method IList.Remove Removes the first occurrence of a specific object from the CollectionBase. (Inherited from CollectionBase.)
Top
Show:
© 2015 Microsoft