System.Security.Principal.IdentityReferenceCollection Members

The members of System.Security.Principal.IdentityReferenceCollection are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Security.Principal.IdentityReferenceCollection class with zero items in the collection.

Initializes a new instance of the System.Security.Principal.IdentityReferenceCollection class by using the specified initial size.

Public Properties

[read-only]
Countint.

Gets the number of items in the System.Security.Principal.IdentityReferenceCollection collection.

[read-only]
IsReadOnlybool.

Gets a value that indicates whether the System.Security.Principal.IdentityReferenceCollection collection is read-only.

default property
Item(int)IdentityReference. Documentation for this section has not yet been entered.

Public Methods

Add(IdentityReference)

Adds an System.Security.Principal.IdentityReference object to the System.Security.Principal.IdentityReferenceCollection collection.

Clear()

Clears all System.Security.Principal.IdentityReference objects from the System.Security.Principal.IdentityReferenceCollection collection.

Contains(IdentityReference) : bool

Indicates whether the System.Security.Principal.IdentityReferenceCollection collection contains the specified System.Security.Principal.IdentityReference object.

CopyTo(IdentityReference[], int)

Copies the System.Security.Principal.IdentityReferenceCollection collection to an System.Security.Principal.IdentityReferenceCollection array, starting at the specified index.

GetEnumerator() : IEnumerator<IdentityReference>

Gets an enumerator that can be used to iterate through the System.Security.Principal.IdentityReferenceCollection collection.

Remove(IdentityReference) : bool

Removes the specified System.Security.Principal.IdentityReference object from the collection.

Translate(Type) : IdentityReferenceCollection

Converts the objects in the collection to the specified type. Calling this method is the same as calling IdentityReferenceCollection.Translate(Type, bool) with the second parameter set to false, which means that exceptions will not be thrown for items that fail conversion.

Translate(Type, bool) : IdentityReferenceCollection

Converts the objects in the collection to the specified type and uses the specified fault tolerance to handle or ignore errors associated with a type not having a conversion mapping.

Explicitly Implemented Interface Members

IEnumerable.GetEnumerator

Gets an enumerator that can be used to iterate through the System.Security.Principal.IdentityReferenceCollection collection.