ContentDesigner.GetDesignTimeHtml(DesignerRegionCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the markup that is used to represent the control at design time from the specified DesignerRegionCollection object.
public:
override System::String ^ GetDesignTimeHtml(System::Web::UI::Design::DesignerRegionCollection ^ regions);
public override string GetDesignTimeHtml (System.Web.UI.Design.DesignerRegionCollection regions);
override this.GetDesignTimeHtml : System.Web.UI.Design.DesignerRegionCollection -> string
Public Overrides Function GetDesignTimeHtml (regions As DesignerRegionCollection) As String
Parameters
- regions
- DesignerRegionCollection
The DesignerRegionCollection associated with the design-time markup generated by GetDesignTimeHtml(DesignerRegionCollection).
Returns
The markup that is used to represent the control at design time.
Remarks
The markup generated by GetDesignTimeHtml includes region identifiers. GetDesignTimeHtml should add DesignerRegion elements to the DesignerRegionCollection specified by the regions
parameter.