Was this page helpful?

Serialize Method

    Serialize(Stream stream, T data)

    public virtual void Serialize(Stream stream, T data);
    Write the provided instance at the current position in the stream.

    Generic Parameters

    Parameter T

    Type of the instance to serialize.
    Constraints:
    none

    Parameters

    Name Type Description
    stream Stream Destination stream.
    data T Instance to be serialized.

    Returns

    void
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by