DataControlFieldDesigner.GetTemplate(DataBoundControl, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.