Partilhar via


IntermediateWriter.WriteObject Generic Method (T, ContentSerializerAttribute, ContentTypeSerializer)

Writes a single object to the output XML stream, using the specified type hint.

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

Syntax

public void WriteObject<T> (
         T value,
         ContentSerializerAttribute format,
         ContentTypeSerializer typeSerializer
)

Type Parameters

  • T
    The type of value to write.

Parameters

  • value
    The value to write.
  • format
    The format of the XML.
  • typeSerializer
    The type serializer.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista