LosFormatter.Serialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.