次の方法で共有


Control.GetContainerControl メソッド

コントロールの親チェインの 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 セキュリティ:

参照

Control クラス | Control メンバ | System.Windows.Forms 名前空間 | Parent | ContainerControl | IContainerControl