JsonPolymorphicAttribute.TypeDiscriminatorPropertyName Proprietà

Definizione

Ottiene o imposta un nome di proprietà discriminatorio del tipo personalizzato per il tipo polimorhico. Usa il nome della proprietà '$type' predefinito se non è stato impostato.

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

Valore della proprietà

Si applica a