Breyta

Deila með


FileDialog.RunDialog(IntPtr) Method

Definition

RunDialog(IntPtr) is called to display a file dialog in a derived class, such as OpenFileDialog and SaveFileDialog.

protected:
 override bool RunDialog(IntPtr hwndOwner);
[System.Security.SecurityCritical]
protected override bool RunDialog (IntPtr hwndOwner);
protected override bool RunDialog (IntPtr hwndOwner);
[<System.Security.SecurityCritical>]
override this.RunDialog : nativeint -> bool
override this.RunDialog : nativeint -> bool
Protected Overrides Function RunDialog (hwndOwner As IntPtr) As Boolean

Parameters

hwndOwner
IntPtr

nativeint

Handle to the window that owns the dialog.

Returns

true if the user clicks the OK button of the dialog that is displayed (for example, OpenFileDialog, SaveFileDialog); otherwise, false.

Attributes

Remarks

The dialog that is eventually shown is assigned an owner window, which is specified by the hwndOwner parameter.

Applies to