Partager via


ContentSerializerAttribute Class

A custom Attribute that marks a field or property to control how it is serialized or to indicate that protected or private data should be included in serialization.

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

Syntax

[AttributeUsageAttribute(384)]
public sealed class ContentSerializerAttribute : Attribute

See Also

Reference

ContentSerializerAttribute Members
Microsoft.Xna.Framework.Content Namespace

Programming Guide

Adding Content to a Game

Platforms

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