ContentTypeSerializer.Deserialize Method (IntermediateReader, ContentSerializerAttribute, T)
Note
This method is available only when developing for Windows.
Deserializes a strongly typed object from intermediate XML format.
Syntax
'Declaration
Protected Internal MustOverride Function Deserialize ( _
input As IntermediateReader, _
format As ContentSerializerAttribute, _
existingInstance As T _
) As T
protected internal abstract T Deserialize (
IntermediateReader input,
ContentSerializerAttribute format,
T existingInstance
)
protected:
internal:
T Deserialize(
IntermediateReader input,
ContentSerializerAttribute format,
T 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: T
The strongly typed object containing the received data, or null if the deserializer should construct a new instance.
Return Value
Type: T
The object type of the deserialized 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 Generic Class
ContentTypeSerializer Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace
Platforms
Windows 7, Windows Vista, Windows XP