Removes an owned form from this form.
Public Sub RemoveOwnedForm ( _ ownedForm As Form _ )
Dim instance As Form Dim ownedForm As Form instance.RemoveOwnedForm(ownedForm)
public void RemoveOwnedForm( Form ownedForm )
public: void RemoveOwnedForm( Form^ ownedForm )
public function RemoveOwnedForm( ownedForm : 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 nullNothingnullptra null reference (Nothing in Visual Basic).
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98