IVbHost.GetParentWindow 方法

定義

取得目前 Visual Basic 環境的主機視窗。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

傳回

目前 Visual Basic 環境的主機視窗。

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於