ערוך

שתף באמצעות


ContentPlaceHolderDesigner.GetDesignTimeHtml Method

Definition

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

Overloads

GetDesignTimeHtml()

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

GetDesignTimeHtml(DesignerRegionCollection)

Gets the HTML that is used to represent the control at design time using the DesignerRegionCollection object.

GetDesignTimeHtml()

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

public:
 override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml ();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String

Returns

The HTML markup used to represent the control at design time.

Exceptions

The root component is not a MasterPage instance.

See also

Applies to

GetDesignTimeHtml(DesignerRegionCollection)

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

Returns

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

Exceptions

The root component is not a MasterPage instance.

See also

Applies to