共用方式為


IReadOnlyModel.GetEmbeddedDiscriminatorName Method

Definition

Gets the name to use for discriminator properties embedded in JSON documents. The default is "$type".

[System.Diagnostics.DebuggerStepThrough]
public string GetEmbeddedDiscriminatorName ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member GetEmbeddedDiscriminatorName : unit -> string
Public Function GetEmbeddedDiscriminatorName () As String

Returns

The name.

Attributes

Applies to