ContentSerializerCollectionItemNameAttribute Constructor
Creates a new instance of ContentSerializerCollectionItemNameAttribute.
Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public ContentSerializerCollectionItemNameAttribute (
string collectionItemName
)
Parameters
- collectionItemName
The name for each item in the collection.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | collectionItemName is null. |
Example
[ContentSerializerCollectionItemNameAttribute( "CollectionItem" )]
See Also
Reference
ContentSerializerCollectionItemNameAttribute Class
ContentSerializerCollectionItemNameAttribute Members
Microsoft.Xna.Framework.Content Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista