ReadOnlySiteLinkCollection.Contains(ActiveDirectorySiteLink) Metoda

Definice

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

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

Parametry

link
ActiveDirectorySiteLink

Objekt ActiveDirectorySiteLink , který chcete vyhledat.

Návraty

trueActiveDirectorySite pokud je objekt v této kolekci, v opačném případě . false

Výjimky

Parametr link je null.

Platí pro

Viz také