語言

CommonItemDialog.RunDialog(IntPtr) 方法

定義

執行初始化工作,準備顯示檔案開啟、檔案儲存或資料夾開啟對話框。

protected:
 override bool RunDialog(IntPtr hwndOwner);
protected override bool RunDialog(IntPtr hwndOwner);
override this.RunDialog : nativeint -> bool
Protected Overrides Function RunDialog (hwndOwner As IntPtr) As Boolean

參數

hwndOwner
IntPtr

nativeint

把它帶到擁有對話框的視窗。

傳回

true如果對話成功執行;否則,。 false

備註

最終顯示的對話框會被分配一個擁有者視窗,該視窗由 hwndOwner 參數指定。

適用於