使用英语阅读

通过


Control.IControlDesignerAccessor.SetOwnerControl(Control) 方法

定义

有关此成员的说明,请参见 SetOwnerControl(Control)

C#
void IControlDesignerAccessor.SetOwnerControl(System.Web.UI.Control owner);

参数

owner
Control

控件的所有者。

实现

例外

owner 设置为当前控件。

注解

此成员是显式接口成员的实现。 它只能在 Control 实例被强制转换为 IControlDesignerAccessor 接口时使用。

控件 IControlDesignerAccessor 设计器使用 接口对控件执行设计时操作。

适用于

产品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1