Udostępnij za pośrednictwem


JsonFieldWithDefault.DefaultValue Property

Definition

Gets or sets the default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.

[Newtonsoft.Json.JsonProperty(PropertyName="defaultValue")]
public string DefaultValue { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="defaultValue")>]
member this.DefaultValue : string with get, set
Public Property DefaultValue As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to