IdentityReferenceCollection.Remove(IdentityReference) Metod

Definition

Tar bort det angivna IdentityReference objektet från samlingen.

public:
 virtual bool Remove(System::Security::Principal::IdentityReference ^ identity);
public bool Remove(System.Security.Principal.IdentityReference identity);
abstract member Remove : System.Security.Principal.IdentityReference -> bool
override this.Remove : System.Security.Principal.IdentityReference -> bool
Public Function Remove (identity As IdentityReference) As Boolean

Parametrar

identity
IdentityReference

Objektet som IdentityReference ska tas bort.

Returer

true om det angivna objektet har tagits bort från samlingen.

Implementeringar

Undantag

identity är null.

Gäller för