Control::ControlCollection::RemoveByKey Method (String^)
.NET Framework (current version)
Removes the child control with the specified key.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- key
-
Type:
System::String^
The name of the child control to remove.
The Name property of a Control corresponds to the key for a Control in the Control::ControlCollection.
.NET Framework
Available since 2.0
Available since 2.0
Show: