Skip to main content
XNA Game Studio 4.0 Refresh
IntermediateSerializer.Deserialize Generic Method
Bb196127.note(en-us,XNAGameStudio.41).gifNote
This generic method is available only when developing for Windows.
Deserializes an intermediate XML file into a managed object.

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

Syntax
public static T Deserialize<T> (
         XmlReader input,
         string referenceRelocationPath
)

Type Parameters

T
The type to deserialize.

Parameters

input
Type: XmlReader
Intermediate XML file.
referenceRelocationPath
Type: String
Final name of the output file used to relative encode external reference filenames.

Return Value

The deserialized type.
Platforms
Windows 7, Windows Vista, Windows XP