JsonSerializerContext.GetTypeInfo(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

매개 변수

type
Type

메타데이터를 가져올 형식입니다.

반환

JsonTypeInfo

지정된 형식의 메타데이터이거나 null 컨텍스트에 형식에 대한 메타데이터가 없는 경우입니다.

적용 대상