ContentDesigner.GetDesignTimeHtml Method (DesignerRegionCollection)

Gets the markup that is used to represent the control at design time from the specified DesignerRegionCollection object.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

public:
virtual String^ GetDesignTimeHtml (
	DesignerRegionCollection^ regions
) override
public String GetDesignTimeHtml (
	DesignerRegionCollection regions
)
public override function GetDesignTimeHtml (
	regions : DesignerRegionCollection
) : String
Not applicable.

Parameters

regions

The DesignerRegionCollection associated with the design-time markup generated by GetDesignTimeHtml.

Return Value

The markup that is used to represent the control at design time.

The markup generated by GetDesignTimeHtml includes region identifiers. GetDesignTimeHtml should add DesignerRegion elements to the DesignerRegionCollection specified by the regions parameter.

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: