Edit

Share via


CollectionDataContractAttribute.ItemName Property

Definition

Gets or sets a custom name for a collection element.

C#
public string ItemName { get; set; }
C#
public string? ItemName { get; set; }

Property Value

The name to apply to collection elements.

Applies to

Product Versions