IdentityReferenceCollection.Remove Method (IdentityReference)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the specified IdentityReference object from the collection.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

public bool Remove(
	IdentityReference identity
)

Parameters

identity
Type: System.Security.Principal.IdentityReference

The IdentityReference object to remove.

Return Value

Type: System.Boolean

true if the specified object was removed from the collection.

Exception Condition
ArgumentNullException

identity is null.

.NET Framework
Available since 2.0
Return to top
Show: