DataControlFieldDesigner::GetTemplate Method (DataBoundControl^, String^)

 

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

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected:
ITemplate^ GetTemplate(
	DataBoundControl^ control,
	String^ templateContent
)

Parameters

control
Type: System.Web.UI.WebControls::DataBoundControl^

The data-bound control.

templateContent
Type: System::String^

The template markup.

Return Value

Type: System.Web.UI::ITemplate^

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

.NET Framework
Available since 2.0
Return to top
Show: