Table of Contents

Class ContentSerializerRuntimeTypeAttribute

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

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

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

Constructors

ContentSerializerRuntimeTypeAttribute(string)

Creates an instance of the attribute.

public ContentSerializerRuntimeTypeAttribute(string runtimeType)

Parameters

runtimeType string

The name of the type to use at runtime.

Properties

RuntimeType

The name of the type to use at runtime.

public string RuntimeType { get; }

Property Value

string