Share via


ReadOnlyActiveDirectorySchemaPropertyCollection.Contains メソッド

定義

指定した ActiveDirectorySchemaProperty オブジェクトがこのコレクション内にあるかどうかを確認します。

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

パラメーター

schemaProperty
ActiveDirectorySchemaProperty

このコレクション内で検索する ActiveDirectorySchemaProperty オブジェクト。

戻り値

ActiveDirectorySchemaProperty オブジェクトがこのコレクション内にある場合は、true。それ以外の場合は、false

例外

schemaPropertynull です。

適用対象

こちらもご覧ください