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

適用於

另請參閱