Sdílet prostřednictvím


ReadOnlyActiveDirectorySchemaPropertyCollection.Contains Metoda

Definice

Určuje, zda je zadaný ActiveDirectorySchemaProperty objekt v této kolekci.

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

Parametry

schemaProperty
ActiveDirectorySchemaProperty

Objekt ActiveDirectorySchemaProperty , který chcete vyhledat v této kolekci.

Návraty

true pokud se ActiveDirectorySchemaProperty objekt nachází v této kolekci, jinak hodnota false.

Výjimky

schemaProperty je null.

Platí pro

Viz také