共用方式為


ContentTypeSerializerAttribute Class

Note

This class is available only when developing for Windows.

Identifies type serializer components.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

[AttributeUsageAttribute(4)]
public sealed class ContentTypeSerializerAttribute : Attribute

Remarks

All custom serializers must decorate their class with this attribute, as well as extend the ContentTypeSerializer class.

See Also

Reference

ContentTypeSerializer
ContentTypeSerializerAttribute Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace

Platforms

Windows 7, Windows Vista, Windows XP