Class ContentSerializerCollectionItemNameAttribute
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
stringThe 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; }