Edit

Bagikan melalui


JsonSerializableAttribute.TypeInfoPropertyName Property

Definition

Gets or sets the name of the property for the generated JsonTypeInfo<T> for the type on the generated, derived JsonSerializerContext type.

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

Property Value

Remarks

This property is useful for resolving a name collision with another type in the compilation closure.

Applies to