CollectionDataContractAttribute.KeyName Property

Definition

Gets or sets the custom name for a dictionary key name.

public:
 property System::String ^ KeyName { System::String ^ get(); void set(System::String ^ value); };
public string KeyName { get; set; }
member this.KeyName : string with get, set
Public Property KeyName As String

Property Value

The name to use instead of the default dictionary key name.

Applies to