ParentControlDesigner.GetControl(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從指定元件的設計者那裡取得控制權。
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 元件所屬的