語言

JsonConverter.Type 屬性

定義

取得目前轉換器實例正在轉換的類型。

public:
 abstract property Type ^ Type { Type ^ get(); };
public abstract Type? Type { get; }
member this.Type : Type
Public MustOverride ReadOnly Property Type As Type

屬性值

備註

對於型態 JsonConverter<T>的實例,此性質會回傳 typeof(T)。 對於型態 JsonConverterFactory的實例,它會回傳 null。

適用於