JsonTypeInfo.KeyType 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 the key type corresponding to a dictionary type.
public:
property Type ^ KeyType { Type ^ get(); };
public Type? KeyType { get; }
member this.KeyType : Type
Public ReadOnly Property KeyType As Type
Property Value
Remarks
Returns the key type for dictionary types.
Returns null
for all other types or types using custom converters.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.