Share via


IntermediateSerializer.Deserialize Generic Method

Note

This generic method is available only when developing for Windows.

Deserializes an intermediate XML file into a managed object.

Syntax

'Declaration
Public Shared Function Deserialize(Of T) ( _
         input As XmlReader, _
         referenceRelocationPath As String _
) As T 
public static T Deserialize<T> (
         XmlReader input,
         string referenceRelocationPath
)
public:
generic<typename T>
static T Deserialize(
         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

Type: T
The deserialized type.

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

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

Platforms

Windows 7, Windows Vista, Windows XP