System.Web.UI.Design.ControlPersister.PersistTemplate Method

Writes a string of data that represents the persisted form of the specified template to the specified System.IO.TextWriter object.

Syntax

public static void PersistTemplate (System.IO.TextWriter writer, System.Web.UI.ITemplate template, System.ComponentModel.Design.IDesignerHost host)

Parameters

writer
The System.IO.TextWriter to write the persisted template data to.
template
The template to persist.
host
An System.ComponentModel.Design.IDesignerHost that is the designer host for the control.

Remarks

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0