System.Security.Principal.IdentityReferenceCollection: Method Members

The methods of System.Security.Principal.IdentityReferenceCollection are listed below. For a list of all members, see the IdentityReferenceCollection Members list.

See Also: Inherited members from System.Object

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.