次の方法で共有


ParentControlDesigner.GetControl メソッド

指定したコンポーネントのデザイナからコントロールを取得します。

Protected Function GetControl( _
   ByVal component As Object _) As Control
[C#]
protected Control GetControl(objectcomponent);
[C++]
protected: Control* GetControl(Object* component);
[JScript]
protected function GetControl(
   component : Object) : Control;

パラメータ

  • component
    コントロールを取得する対象のコンポーネント。

戻り値

指定したコンポーネントが属する Control

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ParentControlDesigner クラス | ParentControlDesigner メンバ | System.Windows.Forms.Design 名前空間