Control.System.Web.UI.IControlDesignerAccessor.SetOwnerControl Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
For a description of this member, see IControlDesignerAccessor.SetOwnerControl.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

private:
virtual void System.Web.UI.IControlDesignerAccessor.SetOwnerControl (
	Control^ owner
) sealed = IControlDesignerAccessor::SetOwnerControl
Not applicable.

Parameters

owner

The owner of the control.

Exception typeCondition

ArgumentException

owner is set to the current control.

This member is an explicit interface member implementation. It can be used only when the Control instance is cast to an IControlDesignerAccessor interface.

The IControlDesignerAccessor interface is used by a control designer to perform design-time actions on the control.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: