TemplatedControlDesigner.SetTemplateContent Método

Definición

Precaución

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

Cuando se reemplaza en una clase derivada, establece el contenido de la plantilla especificada en el contenido especificado.

C#
public abstract void SetTemplateContent(System.Web.UI.Design.ITemplateEditingFrame editingFrame, string templateName, string templateContent);
C#
[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);

Parámetros

editingFrame
ITemplateEditingFrame

Marco de edición de plantillas para el que se va a proporcionar contenido.

templateName
String

Nombre de la plantilla.

templateContent
String

Contenido que se va a establecer para la plantilla.

Atributos

Se aplica a

Produto Versións (Obsoleto)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)

Consulte también