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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.