語言

IUIService.GetDialogOwnerWindow 方法

定義

它會取得應該用來顯示對話框的視窗。

public:
 System::Windows::Forms::IWin32Window ^ GetDialogOwnerWindow();
public System.Windows.Forms.IWin32Window GetDialogOwnerWindow();
abstract member GetDialogOwnerWindow : unit -> System.Windows.Forms.IWin32Window
Public Function GetDialogOwnerWindow () As IWin32Window

傳回

一個 IWin32Window 表示擁有任何子對話框的視窗。

備註

有些對話框是被子屬於擁有者應用程式,且不會出現在任務清單中。 此方法回傳 , IWin32Window 表示從整合開發環境中產生的此類對話框應擁有的視窗。

適用於