CommonItemDialog.RunDialog(IntPtr) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
執行初始化工作,準備顯示檔案開啟、檔案儲存或資料夾開啟對話框。
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 參數指定。