Writes a string of data that represents the persisted form of the specified template to the specified System.IO.TextWriter object.
- 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.
The ControlPersister.PersistTemplate(System.IO.TextWriter, System.Web.UI.ITemplate, System.ComponentModel.Design.IDesignerHost) method requires an System.ComponentModel.Design.IDesignerHost interface implementation in order to work correctly.