Specifies a common dialog box.
Protected Overrides Function RunDialog ( _ hWndOwner As IntPtr _ ) As Boolean
protected override bool RunDialog( IntPtr hWndOwner )
protected: virtual bool RunDialog( IntPtr hWndOwner ) override
abstract RunDialog : hWndOwner:IntPtr -> bool override RunDialog : hWndOwner:IntPtr -> bool
This method provides an implementation of RunDialog, and is invoked when the user of a file dialog invokes ShowDialog.
In the derived classes OpenFileDialog and SaveFileDialog an invalid file name Exception can be raised.
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