Sdílet prostřednictvím


JsonPolymorphicAttribute.TypeDiscriminatorPropertyName Vlastnost

Definice

Získá nebo nastaví vlastní typ diskriminující vlastnost název polymorhického typu. Použije výchozí název vlastnosti $type, pokud není nastaven.

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

Hodnota vlastnosti

Platí pro