Table of Contents

Class ContentSerializerTypeVersionAttribute

Namespace
Microsoft.Xna.Framework.Content
Assembly
MonoGame.Framework.dll

This is used to specify the version when deserializing this object at runtime.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public sealed class ContentSerializerTypeVersionAttribute : Attribute
Inheritance
ContentSerializerTypeVersionAttribute
Inherited Members

Constructors

ContentSerializerTypeVersionAttribute(int)

Creates an instance of the attribute.

public ContentSerializerTypeVersionAttribute(int typeVersion)

Parameters

typeVersion int

The version passed to the type at runtime.

Properties

TypeVersion

The version passed to the type at runtime.

public int TypeVersion { get; }

Property Value

int