Partilhar via


ContentWriter.WriteSharedResource Generic Method

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

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

Syntax

public void WriteSharedResource<T> (
         T value
)

Type Parameters

  • T
    The type of value.

Parameters

  • value
    The object to record.

See Also

Reference

ContentWriter Class
ContentWriter Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler Namespace

Platforms

Windows XP SP2, Windows Vista