LosFormatter.Serialize Method (TextWriter, Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Transforms a limited object serialization (LOS)-formatted object into a view-state value and places the results into a TextWriter object.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public void Serialize(
	TextWriter output,
	object value


Type: System.IO.TextWriter

The TextWriter to receive the transformed value.

Type: System.Object

The LOS-formatted object to transform into a view-state value.

This version of the Serialize method is used to transform a LOS-formatted object into a view-state value. The results are then placed into a TextWriter object.

.NET Framework
Available since 1.1
Return to top