TemplatedControlDesigner.SetTemplateContent メソッド

定義

注意事項

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 void SetTemplateContent(System::Web::UI::Design::ITemplateEditingFrame ^ editingFrame, System::String ^ templateName, System::String ^ templateContent);
public abstract void SetTemplateContent (System.Web.UI.Design.ITemplateEditingFrame editingFrame, string templateName, string templateContent);
[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 void SetTemplateContent (System.Web.UI.Design.ITemplateEditingFrame editingFrame, string templateName, string templateContent);
abstract member SetTemplateContent : System.Web.UI.Design.ITemplateEditingFrame * string * string -> unit
[<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 SetTemplateContent : System.Web.UI.Design.ITemplateEditingFrame * string * string -> unit
Public MustOverride Sub SetTemplateContent (editingFrame As ITemplateEditingFrame, templateName As String, templateContent As String)

パラメーター

editingFrame
ITemplateEditingFrame

内容を提供する対象のテンプレート編集フレーム。

templateName
String

テンプレートの名前。

templateContent
String

テンプレートに設定する内容。

属性

適用対象

こちらもご覧ください