語言

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 元件所屬的

適用於

另請參閱