共用方式為


ContentSerializerCollectionItemNameAttribute Class

A custom Attribute that marks a collection class to specify the XML element name for each item in the collection.

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

Syntax

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

See Also

Reference

ContentSerializerCollectionItemNameAttribute Members
Microsoft.Xna.Framework.Content Namespace

Programming Guide

Content Pipeline

Platforms

Xbox 360, Windows XP SP2, Windows Vista