DataControlFieldDesigner.GetTemplate(DataBoundControl, String) Metod

Definition

Hämtar objektet ITemplate som innehåller mallmarkeringen för den angivna databundna kontrollen.

protected:
 System::Web::UI::ITemplate ^ GetTemplate(System::Web::UI::WebControls::DataBoundControl ^ control, System::String ^ templateContent);
protected System.Web.UI.ITemplate GetTemplate(System.Web.UI.WebControls.DataBoundControl control, string templateContent);
member this.GetTemplate : System.Web.UI.WebControls.DataBoundControl * string -> System.Web.UI.ITemplate
Protected Function GetTemplate (control As DataBoundControl, templateContent As String) As ITemplate

Parametrar

control
DataBoundControl

Den databundna kontrollen.

templateContent
String

Mallmarkeringen.

Returer

Ett objekt som innehåller mallmarkeringen för den angivna databundna kontrollen.

Gäller för