Editar

Compartilhar via


ReadOnlyActiveDirectorySchemaPropertyCollection.Contains Method

Definition

Determines if the specified ActiveDirectorySchemaProperty object is in this collection.

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

Parameters

schemaProperty
ActiveDirectorySchemaProperty

The ActiveDirectorySchemaProperty object to search for in this collection.

Returns

true if the ActiveDirectorySchemaProperty object is in this collection; otherwise, false.

Exceptions

schemaProperty is null.

Applies to

See also