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

定义

有关此成员的说明,请参见 SetOwnerControl(Control)For a description of this member, see SetOwnerControl(Control).

 virtual void System.Web.UI.IControlDesignerAccessor.SetOwnerControl(System::Web::UI::Control ^ owner) = System::Web::UI::IControlDesignerAccessor::SetOwnerControl;
void IControlDesignerAccessor.SetOwnerControl (System.Web.UI.Control owner);
Sub SetOwnerControl (owner As Control) Implements IControlDesignerAccessor.SetOwnerControl

参数

owner
Control Control Control

控件的所有者。The owner of the control.

实现

异常

owner 设置为当前控件。owner is set to the current control.

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 Control 实例被强制转换为 IControlDesignerAccessor 接口时使用。It can be used only when the Control instance is cast to an IControlDesignerAccessor interface.

控件IControlDesignerAccessor设计器使用此接口对控件执行设计时操作。The IControlDesignerAccessor interface is used by a control designer to perform design-time actions on the control.

适用于