JsonDerivedType コンストラクター

定義

オーバーロード

JsonDerivedType(Type)

サポートされている派生型を JsonDerivedType 表す クラスの新しいインスタンスを、型判別子なしで初期化します。

JsonDerivedType(Type, Int32)

整数型識別子を使用して JsonDerivedType 、サポートされている派生型を表す クラスの新しいインスタンスを初期化します。

JsonDerivedType(Type, String)

文字列型識別子を使用して JsonDerivedType 、サポートされている派生型を表す クラスの新しいインスタンスを初期化します。

JsonDerivedType(Type)

ソース:
JsonDerivedType.cs
ソース:
JsonDerivedType.cs
ソース:
JsonDerivedType.cs

サポートされている派生型を JsonDerivedType 表す クラスの新しいインスタンスを、型判別子なしで初期化します。

public:
 JsonDerivedType(Type ^ derivedType);
public JsonDerivedType (Type derivedType);
new System.Text.Json.Serialization.Metadata.JsonDerivedType : Type -> System.Text.Json.Serialization.Metadata.JsonDerivedType
Public Sub New (derivedType As Type)

パラメーター

derivedType
Type

ポリモーフィック型メタデータでサポートされる派生型。

適用対象

JsonDerivedType(Type, Int32)

ソース:
JsonDerivedType.cs
ソース:
JsonDerivedType.cs
ソース:
JsonDerivedType.cs

整数型識別子を使用して JsonDerivedType 、サポートされている派生型を表す クラスの新しいインスタンスを初期化します。

public:
 JsonDerivedType(Type ^ derivedType, int typeDiscriminator);
public JsonDerivedType (Type derivedType, int typeDiscriminator);
new System.Text.Json.Serialization.Metadata.JsonDerivedType : Type * int -> System.Text.Json.Serialization.Metadata.JsonDerivedType
Public Sub New (derivedType As Type, typeDiscriminator As Integer)

パラメーター

derivedType
Type

ポリモーフィック型メタデータでサポートされる派生型。

typeDiscriminator
Int32

派生型に関連付けられる型識別子。

適用対象

JsonDerivedType(Type, String)

ソース:
JsonDerivedType.cs
ソース:
JsonDerivedType.cs
ソース:
JsonDerivedType.cs

文字列型識別子を使用して JsonDerivedType 、サポートされている派生型を表す クラスの新しいインスタンスを初期化します。

public:
 JsonDerivedType(Type ^ derivedType, System::String ^ typeDiscriminator);
public JsonDerivedType (Type derivedType, string typeDiscriminator);
new System.Text.Json.Serialization.Metadata.JsonDerivedType : Type * string -> System.Text.Json.Serialization.Metadata.JsonDerivedType
Public Sub New (derivedType As Type, typeDiscriminator As String)

パラメーター

derivedType
Type

ポリモーフィック型メタデータでサポートされる派生型。

typeDiscriminator
String

派生型に関連付けられる型識別子。

適用対象