ContentSerializerAttribute.HasCollectionItemName Property

Indicates whether an explicit CollectionItemName string is being used or the default value.

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

Syntax

public bool HasCollectionItemName { get; }

Property Value

true if an explicit CollectionItemName string is being used; false otherwise.

Example

ContentSerializerAttribute with HasCollectionItemName set true.

[ContentSerializerAttribute( HasCollectionItemName = true )]

See Also

Reference

ContentSerializerAttribute Class
ContentSerializerAttribute Members
Microsoft.Xna.Framework.Content Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone