Share via


ContentTypeSerializer.Serialize Method (IntermediateWriter, T, ContentSerializerAttribute)

Note

This method is available only when developing for Windows.

Serializes an object to intermediate XML format.

Syntax

'Declaration
Protected Internal MustOverride Sub Serialize ( _
         output As IntermediateWriter, _
         value As T, _
         format As ContentSerializerAttribute _
)
protected internal abstract void Serialize (
         IntermediateWriter output,
         T value,
         ContentSerializerAttribute format
)
protected:
internal:
void Serialize(
         IntermediateWriter output,
         T value,
         ContentSerializerAttribute format
) abstract

Parameters

  • output
    Type: IntermediateWriter
    Specifies the intermediate XML location, and provides various serialization helpers.
  • value
    Type: T
    The strongly typed object to be serialized.
  • format
    Type: ContentSerializerAttribute
    Specifies the content format for this object.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate

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

See Also

Reference

ContentTypeSerializer Generic Class
ContentTypeSerializer Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace

Platforms

Windows 7, Windows Vista, Windows XP