Szerkesztés

Megosztás a következőn keresztül:


LosFormatter.Serialize Method

Definition

Transforms a limited object serialization (LOS)-formatted object into a view-state value.

Overloads

Serialize(Stream, Object)

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

Serialize(TextWriter, Object)

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

Serialize(Stream, Object)

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

public:
 void Serialize(System::IO::Stream ^ stream, System::Object ^ value);
public void Serialize (System.IO.Stream stream, object value);
member this.Serialize : System.IO.Stream * obj -> unit
Public Sub Serialize (stream As Stream, value As Object)

Parameters

stream
Stream

The Stream to receive the transformed value.

value
Object

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

Remarks

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 Stream object.

See also

Applies to

Serialize(TextWriter, Object)

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

public:
 void Serialize(System::IO::TextWriter ^ output, System::Object ^ value);
public void Serialize (System.IO.TextWriter output, object value);
member this.Serialize : System.IO.TextWriter * obj -> unit
Public Sub Serialize (output As TextWriter, value As Object)

Parameters

output
TextWriter

The TextWriter to receive the transformed value.

value
Object

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

Remarks

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.

Applies to