IdentityReferenceCollection.Remove(IdentityReference) Methode

Definition

Entfernt das angegebene IdentityReference-Objekt aus der Auflistung.

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

Parameter

identity
IdentityReference

Das zu entfernende IdentityReference-Objekt.

Gibt zurück

Boolean

true, wenn das angegebene Objekt aus der Auflistung entfernt wurde.

Implementiert

Ausnahmen

identity ist null.

Gilt für