CollectionDataContractAttribute.ValueName 屬性

定義

取得或設定字典值名稱的自訂名稱。

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

屬性值

String

要用來代替預設字典值名稱的名稱。

適用於