IntermediateSerializer.Serialize Generic Method

Serializes an object into an intermediate XML file.

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

Syntax

public static void Serialize<T> (
         XmlWriter output,
         T value,
         string referenceRelocationPath
)

Type Parameters

  • T
    The type of value.

Parameters

  • output
    The output XML stream.
  • value
    The object to be serialized.
  • referenceRelocationPath
    Final name of the output file, used to relative encode external reference filenames.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista