ControlPersister::PersistControl Method (TextWriter^, Control^, IDesignerHost^)
.NET Framework (current version)
Outputs a string of data that represents the persisted form of the specified control to the specified TextWriter, using the specified designer host.
Assembly: System.Design (in System.Design.dll)
public: static void PersistControl( TextWriter^ sw, Control^ control, IDesignerHost^ host )
Parameters
- sw
-
Type:
System.IO::TextWriter^
The TextWriter to output the persisted control data to.
- control
-
Type:
System.Web.UI::Control^
The Control to persist.
- host
-
Type:
System.ComponentModel.Design::IDesignerHost^
An IDesignerHost that is the designer host for the control.
This method requires an IDesignerHost implementation to work correctly.
.NET Framework
Available since 1.1
Available since 1.1
Show: