Editar

Partilhar via


DataControlFieldDesigner.GetTemplate(DataBoundControl, String) Method

Definition

Gets the ITemplate object that contains the template markup for the specified data-bound control.

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

Parameters

control
DataBoundControl

The data-bound control.

templateContent
String

The template markup.

Returns

An object that contains the template markup for the specified data-bound control.

Applies to