IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control) IControlDesignerAccessor.SetOwnerControl(Control) Method

定義

實作時,指定控制項做為實作這個方法之控制項的擁有者。When implemented, specifies the control that acts as the owner to the control implementing this method.

public:
 void SetOwnerControl(System::Web::UI::Control ^ owner);
public void SetOwnerControl (System.Web.UI.Control owner);
abstract member SetOwnerControl : System.Web.UI.Control -> unit
Public Sub SetOwnerControl (owner As Control)

參數

owner
Control Control Control Control

要做為擁有者的控制項。The control to act as owner.

備註

在其中一個控制項包含另一個控制項複合容器案例中,容器是控制項的擁有人。In a composite container scenario where one control contains another control, the container is the control owner.

適用於

另請參閱