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 collection.
// Remove the RadioButton control if it exists. privatevoid removeButton_Click(object sender, System.EventArgs e)
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)