This documentation is archived and is not being maintained.

WebFormsRootDesigner::GetControlViewAndTag Method

When overridden in a derived class, returns both the current design-time view and the HTML markup for the specified control.

Namespace:  System.Web.UI.Design
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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: