Udostępnij przez


ContentPlaceHolderDesigner.GetDesignTimeHtml Metoda

Definicja

Pobiera kod HTML używany do reprezentowania kontrolki w czasie projektowania.

Przeciążenia

GetDesignTimeHtml()

Pobiera kod HTML używany do reprezentowania kontrolki w czasie projektowania.

GetDesignTimeHtml(DesignerRegionCollection)

Pobiera kod HTML używany do reprezentowania kontrolki w czasie projektowania przy użyciu DesignerRegionCollection obiektu .

GetDesignTimeHtml()

Pobiera kod HTML używany do reprezentowania kontrolki w czasie projektowania.

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

Zwraca

Znacznik HTML używany do reprezentowania kontrolki w czasie projektowania.

Wyjątki

Składnik główny nie jest wystąpieniem MasterPage .

Zobacz też

Dotyczy

GetDesignTimeHtml(DesignerRegionCollection)

Pobiera kod HTML używany do reprezentowania kontrolki w czasie projektowania przy użyciu DesignerRegionCollection obiektu .

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

Parametry

regions
DesignerRegionCollection

Obiekt DesignerRegionCollection zawierający regiony do użycia do generowania kodu HTML w czasie projektowania.

Zwraca

Kod HTML, który jest używany do reprezentowania kontrolki w czasie projektowania.

Wyjątki

Składnik główny nie jest wystąpieniem MasterPage .

Zobacz też

Dotyczy