ContentWriter.WriteObject Generic Method (T)
Note
This generic method is available only when developing for Windows.
Writes a single object preceded by a type identifier to the output binary.
Syntax
'Declaration
Public Sub WriteObject(Of T) ( _
value As T _
)
public void WriteObject<T> (
T value
)
public:
generic<typename T>
void WriteObject(
T value
)
Type Parameters
- T
The type of value.
Parameters
- value
Type: T
The value to write.
Remarks
This method can be called recursively with a null value.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
ContentWriter Class
ContentWriter Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler Namespace
Platforms
Windows 7, Windows Vista, Windows XP