ContentPlaceHolderDesigner::GetDesignTimeHtml Method (DesignerRegionCollection^)

 

This API supports the product 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

Parameters

regions
Type: System.Web.UI.Design::DesignerRegionCollection^

The DesignerRegionCollection object containing the regions to use for generating design-time HTML.

Return Value

Type: System::String^

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

Exception Condition
InvalidOperationException

The root component is not a MasterPage instance.

.NET Framework
Available since 2.0
Return to top
Show: