Rediger

Del via


GlobalCatalogCollection.Contains(GlobalCatalog) Method

Definition

Determines if the specified GlobalCatalog object is in this collection.

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

Parameters

globalCatalog
GlobalCatalog

The GlobalCatalog object to search for in this collection.

Returns

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

Exceptions

globalCatalog is null.

Applies to

See also