ContentTypeSerializer.Serialize Method

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 Object, _
         format As ContentSerializerAttribute _
)
protected internal abstract void Serialize (
         IntermediateWriter output,
         Object value,
         ContentSerializerAttribute format
)
protected:
internal:
void Serialize(
         IntermediateWriter output,
         Object value,
         ContentSerializerAttribute format
) abstract

Parameters

  • output
    Type: IntermediateWriter
    Specifies the intermediate XML location, and provides various serialization helpers.
  • value
    Type: Object
    The 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 Class
ContentTypeSerializer Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace

Platforms

Windows 7, Windows Vista, Windows XP