Share via


RoleMemberCollection Class

Definition

Represents a collection of RoleMember objects. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("39DFDC96-0B38-4ddf-9514-F387EE32407B")]
public sealed class RoleMemberCollection : System.Collections.IList
[<System.Runtime.InteropServices.Guid("39DFDC96-0B38-4ddf-9514-F387EE32407B")>]
type RoleMemberCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class RoleMemberCollection
Implements IList
Inheritance
RoleMemberCollection
Attributes
Implements

Constructors

RoleMemberCollection()

Properties

Count

Gets the number of elements contained in the collection.

Item[Int32]

Gets or sets the RoleMember element at the specified index.

Methods

Add(RoleMember)

Adds the specified RoleMember to the end of the collection.

AddRange(ICollection)

Adds the set of specified elements to the end of the collection.

Clear()

Removes all items from the collection.

Contains(RoleMember)

Determines whether the specified RoleMember exists in the collection.

CopyTo(Array, Int32)

Copies the elements of the collection to an Array, starting at a particular Array index.

IndexOf(RoleMember)

Searches for the specified RoleMember and returns its zero-based index within the collection.

Insert(Int32, RoleMember)

Inserts the specified RoleMember to the collection at the specified index.

Remove(RoleMember)

Removes the specified RoleMember from this collection.

RemoveAt(Int32)

Removes the RoleMember at the specified index.

Explicit Interface Implementations

ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()
IList.Add(Object)
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
IList.Remove(Object)

Applies to