IUIService.GetDialogOwnerWindow 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
它會取得應該用來顯示對話框的視窗。
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 表示從整合開發環境中產生的此類對話框應擁有的視窗。