ControlCollection.Contains Method (2007 System)
Include Protected Members
Include Inherited Members
Determines whether the specified control is a member of the ControlCollection instance.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name
Description
Determines whether the specified control is a member of the ControlCollection instance.
Determines whether a control with the specified name is a member of the ControlCollection instance.
Top
Remarks
This method enables you to determine whether a control is a member of the collection before attempting to perform operations on the control. You can use this method to confirm that a control has been added to, or is still a member of, the ControlCollection instance.