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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.