IdentityReferenceCollection::Remove Method (IdentityReference^)

 

Removes the specified IdentityReference object from the collection.

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

public:
virtual bool Remove(
	IdentityReference^ identity
) sealed

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: