指定したコンポーネントのデザイナからコントロールを取得します。
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 名前空間