다음을 통해 공유


DataControlFieldDesigner.GetTemplate(DataBoundControl, String) 메서드

정의

지정된 데이터 바인딩된 컨트롤에 대한 템플릿 태그가 포함된 ITemplate 개체를 가져옵니다.

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

매개 변수

control
DataBoundControl

데이터 바인딩된 컨트롤입니다.

templateContent
String

템플릿 태그입니다.

반환

ITemplate

지정된 데이터 바인딩된 컨트롤에 대한 템플릿 태그가 포함된 개체입니다.

적용 대상