Bagikan melalui


ReadOnlyActiveDirectorySchemaClassCollection.Contains Metode

Definisi

Menentukan apakah objek yang ditentukan ActiveDirectorySchemaClass ada dalam koleksi ini.

public:
 bool Contains(System::DirectoryServices::ActiveDirectory::ActiveDirectorySchemaClass ^ schemaClass);
public bool Contains (System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClass schemaClass);
member this.Contains : System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClass -> bool
Public Function Contains (schemaClass As ActiveDirectorySchemaClass) As Boolean

Parameter

schemaClass
ActiveDirectorySchemaClass

Objek ActiveDirectorySchemaClass yang akan dicari dalam koleksi ini.

Mengembalikan

trueActiveDirectorySchemaClass jika objek berada dalam koleksi ini; jika tidak, false.

Pengecualian

Parameternya schemaClass adalah null.

Berlaku untuk

Lihat juga