ContentTypeSerializer.Deserialize Method

Note

This method is available only when developing for Windows.

Deserializes an object from intermediate XML format.

Syntax

'Declaration
Protected Internal MustOverride Function Deserialize ( _
         input As IntermediateReader, _
         format As ContentSerializerAttribute, _
         existingInstance As Object _
) As Object 
protected internal abstract Object Deserialize (
         IntermediateReader input,
         ContentSerializerAttribute format,
         Object existingInstance
)
protected:
internal:
Object Deserialize(
         IntermediateReader input,
         ContentSerializerAttribute format,
         Object existingInstance
) abstract

Parameters

  • input
    Type: IntermediateReader
    Location of the intermediate XML and various deserialization helpers.
  • format
    Type: ContentSerializerAttribute
    Specifies the intermediate source XML format.
  • existingInstance
    Type: Object
    The object containing the received data, or null if the deserializer should construct a new instance.

Return Value

Type: Object
The resultant 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

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

Platforms

Windows 7, Windows Vista, Windows XP