Επεξεργασία

Κοινή χρήση μέσω


ContentDesigner.GetDesignTimeHtml(DesignerRegionCollection) Method

Definition

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.

Applies to

See also