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.

適用於