TemplatedControlDesigner.GetTemplateContent(ITemplateEditingFrame, String, Boolean) Método
Definição
Cuidado
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
Quando substituído em uma classe derivada, obtém o conteúdo do modelo.When overridden in a derived class, gets the template's content.
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
Parâmetros
- editingFrame
- ITemplateEditingFrame
O quadro de edição de modelo cujo conteúdo será recuperado.The template editing frame to retrieve the content of.
- templateName
- String
O nome do modelo.The name of the template.
- allowEditing
- Boolean
true se o conteúdo do modelo puder ser editado; false se o conteúdo for somente leitura.true if the template's content can be edited; false if the content is read-only.
Retornos
O conteúdo do modelo.The content of the template.
- Atributos