Breyta

Deila með


JsonSerializerContext.GetTypeInfo(Type) Method

Definition

Gets metadata for the specified type.

public:
 abstract System::Text::Json::Serialization::Metadata::JsonTypeInfo ^ GetTypeInfo(Type ^ type);
public abstract System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo (Type type);
abstract member GetTypeInfo : Type -> System.Text.Json.Serialization.Metadata.JsonTypeInfo
Public MustOverride Function GetTypeInfo (type As Type) As JsonTypeInfo

Parameters

type
Type

The type to fetch metadata for.

Returns

The metadata for the specified type, or null if the context has no metadata for the type.

Applies to