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

Gets a string of data that represents the persisted form of the specified template.

Syntax

public static string PersistTemplate (System.Web.UI.ITemplate template, System.ComponentModel.Design.IDesignerHost host)

Parameters

template
The template to persist.
host
An System.ComponentModel.Design.IDesignerHost that is the designer host for the control.

Returns

A string that represents the persisted form of the template.

Remarks

Requirements

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