次の方法で共有


ContentWriter.WriteObject Generic Method (T)

Writes a single object preceded by a type identifier to the output binary.

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

Syntax

public void WriteObject<T> (
         T value
)

Type Parameters

  • T
    The type of value.

Parameters

  • value
    The value to write.

Remarks

This method can be called recursively with a null value.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista