共用方式為


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

Content Pipeline

Platforms

Xbox 360, Windows XP SP2, Windows Vista