Partilhar via


ContentTypeSerializer.Serialize Method (IntermediateWriter, Object, ContentSerializerAttribute)

Note

This method is available only when developing for Windows.

Serializes an object to intermediate XML format.

Syntax

'Declaration
Protected Internal Overrides Sub Serialize ( _
         output As IntermediateWriter, _
         value As Object, _
         format As ContentSerializerAttribute _
)
protected internal override void Serialize (
         IntermediateWriter output,
         Object value,
         ContentSerializerAttribute format
)
protected:
internal:
void Serialize(
         IntermediateWriter output,
         Object value,
         ContentSerializerAttribute format
) override

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 Generic Class
ContentTypeSerializer Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace

Platforms

Windows 7, Windows Vista, Windows XP