IntermediateReader.ReadRawObject Generic Method (ContentSerializerAttribute, T)

Reads a single object from the input XML stream, as an instance of the specified type.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public T ReadRawObject<T> (
         ContentSerializerAttribute format,
         T existingInstance
)

Type Parameters

  • T
    The type of object to read.

Parameters

  • format
    The object.
  • existingInstance
    The object receiving the data, or null if a new instance should be created.

Return Value

The type of object read.

See Also

Reference

IntermediateReader Class
IntermediateReader Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace

Platforms

Windows XP SP2, Windows Vista