This documentation is archived and is not being maintained.
WebFormsRootDesigner::GetControlViewAndTag Method
Visual Studio 2010
When overridden in a derived class, returns both the current design-time view and the HTML markup for the specified control.
Assembly: System.Design (in System.Design.dll)
protected public: virtual void GetControlViewAndTag( Control^ control, [OutAttribute] IControlDesignerView^% view, [OutAttribute] IControlDesignerTag^% tag ) abstract
Parameters
- control
- Type: System.Web.UI::Control
The control to provide the view and tag for.
- view
- Type: System.Web.UI.Design::IControlDesignerView%
When the GetControlViewAndTag method returns, view contains an IControlDesignerView object that provides access to the visual representation and content of a control at design time. view is passed uninitialized.
- tag
- Type: System.Web.UI.Design::IControlDesignerTag%
When the GetControlViewAndTag method returns, tag contains an IControlDesignerTag object that provides access to the HTML element for the control's control designer. tag is passed uninitialized.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: