FileDialog.RunDialog(IntPtr) メソッド

定義

RunDialog(IntPtr) は、派生クラス (OpenFileDialogSaveFileDialog など) のファイル ダイアログを表示するために呼び出されます。

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

パラメーター

hwndOwner
IntPtr

nativeint

ダイアログを所有するウィンドウを識別するハンドル。

戻り値

Boolean

表示されているダイアログ (OpenFileDialogSaveFileDialog など) でユーザーが [OK] ボタンをクリックした場合は true。それ以外の場合は false

属性

注釈

最終的に表示されるダイアログには、パラメーターで hwndOwner 指定された所有者ウィンドウが割り当てられます。

適用対象