Removes an owned form from this form.
[Visual Basic] Public Sub RemoveOwnedForm( _ ByVal ownedForm As Form _ ) [C#] public void RemoveOwnedForm( Form ownedForm ); [C++] public: void RemoveOwnedForm( Form* ownedForm ); [JScript] public function RemoveOwnedForm( ownedForm : Form );
- A Form representing the form to remove from the list of owned forms for this form.
The form assigned to the owner form remains owned until the RemoveOwnedForm method is called. In addition to removing the owned form from the list of owned form, this method also sets the owner form to a null reference (Nothing in Visual Basic).
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family