コントロールの親チェインの 1 つ上の ContainerControl を返します。
Public Function GetContainerControl() As IContainerControl
[C#]
public IContainerControl GetContainerControl();
[C++]
public: IContainerControl* GetContainerControl();
[JScript]
public function GetContainerControl() : IContainerControl;
戻り値
Control の親を表す IContainerControl オブジェクト。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- UIPermission (すべてのウィンドウでこのメソッドを呼び出すために必要なアクセス許可) UIPermissionWindow.AllWindows (関連する列挙体)
参照
Control クラス | Control メンバ | System.Windows.Forms 名前空間 | Parent | ContainerControl | IContainerControl