IntermediateReader.ReadObject Generic Method (ContentSerializerAttribute, ContentTypeSerializer)
Reads a single object from the input XML stream, using the specified type hint.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public T ReadObject<T> (
ContentSerializerAttribute format,
ContentTypeSerializer typeSerializer
)
Type Parameters
- T
The type of object read.
Parameters
- format
The format of the XML. - typeSerializer
The type serializer.
Return Value
The object.
See Also
Reference
IntermediateReader Class
IntermediateReader Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace
Platforms
Windows XP SP2, Windows Vista