Redigera

Dela via


AdamInstanceCollection.Contains(AdamInstance) Method

Definition

Determines if the specified AdamInstance object is in this collection.

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

Parameters

adamInstance
AdamInstance

The AdamInstance object to search for in this collection.

Returns

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

Exceptions

adamInstance is null.

Applies to

See also