CoreStrings.PropertyWrongClrType(Object, Object, Object, Object) 方法

定义

无法将属性“{property}”添加到类型“{type}”,因为相应的 CLR 属性或字段“{clrType}”的类型与指定的类型“{propertyType}”不匹配。

public static string PropertyWrongClrType (object property, object entityType, object clrType, object propertyType);
public static string PropertyWrongClrType (object? property, object? entityType, object? clrType, object? propertyType);
public static string PropertyWrongClrType (object? property, object? type, object? clrType, object? propertyType);
static member PropertyWrongClrType : obj * obj * obj * obj -> string
static member PropertyWrongClrType : obj * obj * obj * obj -> string
Public Shared Function PropertyWrongClrType (property As Object, entityType As Object, clrType As Object, propertyType As Object) As String
Public Shared Function PropertyWrongClrType (property As Object, type As Object, clrType As Object, propertyType As Object) As String

参数

property
Object
entityTypetype
Object
clrType
Object
propertyType
Object

返回

适用于