- owner
- Any object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal dialog box.
Visual Basic (Declaration) | |
---|---|
Public Function ShowDialog( _ ByVal owner As IWin32Window _ ) As DialogResult |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterSaveDialog Dim owner As IWin32Window Dim value As DialogResult value = instance.ShowDialog(owner) |
C# | |
---|---|
public DialogResult ShowDialog( IWin32Window owner ) |
C++/CLI | |
---|---|
public: DialogResult ShowDialog( IWin32Window^ owner ) |
Parameters
- owner
- Any object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal dialog box.
Return Value
Returns the value of the dialog box that specifies the identifiers.Refer to RasterSaveDialog example.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7