JsonSerializableAttribute.TypeInfoPropertyName プロパティ

定義

生成された派生JsonSerializerContext型の型に対して生成されたJsonTypeInfo<T>のプロパティの名前を取得または設定します。

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

プロパティ値

注釈

このプロパティは、コンパイル クロージャ内の別の型との名前の競合を解決する場合に役立ちます。

適用対象