Removes an owned form from this form.
Public Sub RemoveOwnedForm ( _ ownedForm As Form _ )
public void RemoveOwnedForm( Form ownedForm )
public: void RemoveOwnedForm( Form^ ownedForm )
member RemoveOwnedForm : ownedForm:Form -> unit
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 SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2