Share via


DataControlFieldDesigner.GetTemplate(DataBoundControl, String) Método

Definición

Obtiene el objeto ITemplate que contiene el marcado de plantilla para el control enlazado a datos especificado.

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

Parámetros

control
DataBoundControl

Control enlazado a datos.

templateContent
String

Marcado de plantilla.

Devoluciones

ITemplate

Objeto que contiene el marcado de plantilla para el control enlazado a datos especificado.

Se aplica a