共用方式為


JsonDerivedTypeAttribute.TypeDiscriminator 屬性

定義

要用於子型別序列化的型別辨別子識別碼。

public:
 property System::Object ^ TypeDiscriminator { System::Object ^ get(); };
public object? TypeDiscriminator { get; }
member this.TypeDiscriminator : obj
Public ReadOnly Property TypeDiscriminator As Object

屬性值

適用於