Determines whether a control is in the collection.

Contains(System.Windows.Forms.Control)

public bool Contains(System.Windows.Forms.Control item);
Public Function Contains(ByVal item As System.Windows.Forms.Control) As Boolean

Parameters

Parameter Description
item The item to locate in this collection.

Return Value

True if item is found in this collection. Otherwise, false.