ContentPlaceHolderDesigner.GetDesignTimeHtml 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 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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om