言語

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

ダイアログを所有するウィンドウを処理します。

返品

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

属性

注釈

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

適用対象