IntermediateReader.ReadRawObject Generic Method (ContentSerializerAttribute)

Note

This generic method is available only when developing for Windows.

Reads a single object from the input XML stream as an instance of the specified type, optionally specifying an existing instance to receive the data.

Syntax

'Declaration
Public Function ReadRawObject(Of T) ( _
         format As ContentSerializerAttribute _
) As T 
public T ReadRawObject<T> (
         ContentSerializerAttribute format
)
public:
generic<typename T>
T ReadRawObject(
         ContentSerializerAttribute format
)

Type Parameters

  • T
    The type of object to read.

Parameters

Return Value

Type: T
The object.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP