IdentityReferenceCollection.Contains(IdentityReference) Metod

Definition

Anger om samlingen IdentityReferenceCollection innehåller det angivna IdentityReference objektet.

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

Parametrar

identity
IdentityReference

Objektet IdentityReference som ska sökas efter.

Returer

true om samlingen innehåller det angivna objektet.

Implementeringar

Undantag

identity är null.

Gäller för