ParentControlDesigner.GetControl(Object) 方法

定义

从所指定组件的设计器中获取控件。

protected:
 System::Windows::Forms::Control ^ GetControl(System::Object ^ component);
protected System.Windows.Forms.Control GetControl (object component);
member this.GetControl : obj -> System.Windows.Forms.Control
Protected Function GetControl (component As Object) As Control

参数

component
Object

要为其检索控件的组件。

返回

指定组件所属的 Control

适用于

另请参阅