Table of Contents

Class ContentSerializerCollectionItemNameAttribute

Namespace
Microsoft.Xna.Framework.Content
Assembly
MonoGame.Framework.dll

This is used to specify the XML element name to use for each item in a collection.

[AttributeUsage(AttributeTargets.Class)]
public sealed class ContentSerializerCollectionItemNameAttribute : Attribute
Inheritance
ContentSerializerCollectionItemNameAttribute
Inherited Members

Constructors

ContentSerializerCollectionItemNameAttribute(string)

Creates an instance of the attribute.

public ContentSerializerCollectionItemNameAttribute(string collectionItemName)

Parameters

collectionItemName string

The XML element name to use for each item in the collection.

Properties

CollectionItemName

The XML element name to use for each item in the collection.

public string CollectionItemName { get; }

Property Value

string