Was this page helpful?

Deserialize Method

    Deserialize(Stream stream)

    public virtual T Deserialize(Stream stream);
    Return an instance of the specified type by reading from the System.IO.Stream at its current position.

    Remarks

    The serializer must be smart enough to know when it has reached the end of the type's byte sequence, rather than reading until the end of stream.

    Generic Parameters

    Parameter T

    Type of the instance to deserialize.
    Constraints:
    none

    Parameters

    Name Type Description
    stream Stream Source stream.

    Returns

    Type: T
    Deserialized instance.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by