Bagikan melalui


IdentityReferenceCollection.Contains(IdentityReference) Metode

Definisi

Menunjukkan apakah IdentityReferenceCollection koleksi berisi objek yang ditentukan IdentityReference .

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

Parameter

identity
IdentityReference

Objek IdentityReference yang akan diperiksa.

Mengembalikan

true jika koleksi berisi objek yang ditentukan.

Penerapan

Pengecualian

identityadalah null.

Berlaku untuk