CollectionDataContractAttribute.KeyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.