ערוך

שתף באמצעות


DomainCollection.Contains(Domain) Method

Definition

Determines if the specified Domain object is in this collection.

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

Parameters

domain
Domain

The Domain object to search for in this collection.

Returns

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

Exceptions

domain is null.

Applies to

See also