다음을 통해 공유


TemplatedControlDesigner.GetTemplateContent 메서드

정의

주의

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202

파생 클래스에서 재정의된 경우 템플릿의 내용을 가져옵니다.

public:
 abstract System::String ^ GetTemplateContent(System::Web::UI::Design::ITemplateEditingFrame ^ editingFrame, System::String ^ templateName, [Runtime::InteropServices::Out] bool % allowEditing);
public abstract string GetTemplateContent (System.Web.UI.Design.ITemplateEditingFrame editingFrame, string templateName, out bool allowEditing);
[System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public abstract string GetTemplateContent (System.Web.UI.Design.ITemplateEditingFrame editingFrame, string templateName, out bool allowEditing);
abstract member GetTemplateContent : System.Web.UI.Design.ITemplateEditingFrame * string * bool -> string
[<System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member GetTemplateContent : System.Web.UI.Design.ITemplateEditingFrame * string * bool -> string
Public MustOverride Function GetTemplateContent (editingFrame As ITemplateEditingFrame, templateName As String, ByRef allowEditing As Boolean) As String

매개 변수

editingFrame
ITemplateEditingFrame

내용을 가져올 템플릿 편집 프레임입니다.

templateName
String

템플릿의 이름입니다.

allowEditing
Boolean

템플릿의 내용을 편집할 수 있으면 true이고, 템플릿의 내용이 읽기 전용이면 false입니다.

반환

템플릿의 내용을 반환합니다.

특성

적용 대상

추가 정보