Share via


JsonPolymorphicAttribute.TypeDiscriminatorPropertyName プロパティ

定義

polymorhic 型のカスタム型識別子プロパティ名を取得または設定します。 既定の '$type' プロパティ名を使用します (未設定の場合)。

public:
 property System::String ^ TypeDiscriminatorPropertyName { System::String ^ get(); void set(System::String ^ value); };
public string? TypeDiscriminatorPropertyName { get; set; }
member this.TypeDiscriminatorPropertyName : string with get, set
Public Property TypeDiscriminatorPropertyName As String

プロパティ値

適用対象