ContentSerializerRuntimeTypeAttribute Class

A custom Attribute that specifies the corresponding run-time type of this object. For more information, see Automatic Serialization of .XNB Files.

Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public sealed class ContentSerializerRuntimeTypeAttribute : Attribute

Remarks

You can apply multiple instances of this attribute to a single class, thus specifying different strong names for each target platform. If you don't specify the target platform, a single attribute provides a strong name for all platforms.

See Also

Reference

ContentSerializerRuntimeTypeAttribute Members
Microsoft.Xna.Framework.Content Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone