ContentPlaceHolderDesigner.GetDesignTimeHtml Method (DesignerRegionCollection)

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the HTML that is used to represent the control at design time using the 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 object containing the regions to use for generating design-time HTML.

Return Value

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

Exception typeCondition

InvalidOperationException

The root component is not a MasterPage instance.

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: