IntermediateWriter.WriteSharedResource Generic Method

Adds a shared reference to the output XML and records the object to be serialized later.

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

Syntax

public void WriteSharedResource<T> (
         T value,
         ContentSerializerAttribute format
)

Type Parameters

  • T
    The type of value to write.

Parameters

  • value
    The value to write.
  • format
    The format of the XML.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista