语言

RelationalStrings.JsonObjectWithMultiplePropertiesMappedToSameJsonProperty 方法

定义

“{type}”上的“{property1}”和“{property2}”均配置为使用相同的 JSON 属性名称“{jsonPropertyName}”。 JSON 映射类型中的每个属性都必须具有唯一的 JSON 属性名称。

public static string JsonObjectWithMultiplePropertiesMappedToSameJsonProperty(object? property1, object? property2, object? type, object? jsonPropertyName);
static member JsonObjectWithMultiplePropertiesMappedToSameJsonProperty : obj * obj * obj * obj -> string
Public Shared Function JsonObjectWithMultiplePropertiesMappedToSameJsonProperty (property1 As Object, property2 As Object, type As Object, jsonPropertyName As Object) As String

参数

property1
Object
property2
Object
type
Object
jsonPropertyName
Object

返回

适用于