ReadOnlyActiveDirectorySchemaClassCollection.Contains(ActiveDirectorySchemaClass) ReadOnlyActiveDirectorySchemaClassCollection.Contains(ActiveDirectorySchemaClass) ReadOnlyActiveDirectorySchemaClassCollection.Contains(ActiveDirectorySchemaClass) ReadOnlyActiveDirectorySchemaClassCollection.Contains(ActiveDirectorySchemaClass) Method

定義

指定した ActiveDirectorySchemaClass オブジェクトがこのコレクション内にあるかどうかを判断します。Determines if the specified ActiveDirectorySchemaClass object is in this collection.

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

パラメーター

schemaClass
ActiveDirectorySchemaClass ActiveDirectorySchemaClass ActiveDirectorySchemaClass ActiveDirectorySchemaClass

このコレクション内で検索する ActiveDirectorySchemaClass オブジェクト。The ActiveDirectorySchemaClass object to search for in this collection.

戻り値

ActiveDirectorySchemaClass オブジェクトがこのコレクション内にある場合は、true。それ以外の場合は、falsetrue if the ActiveDirectorySchemaClass object is in this collection; otherwise, false.

例外

schemaClass パラメーターが null です。The schemaClass parameter is null.

適用対象

こちらもご覧ください