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

定义

属性“{property}”属于类型“{expectedType}”,但正与类型“{actualType}”的实例一起使用。

public static string PropertyDoesNotBelong (object property, object entityType, object expectedType);
public static string PropertyDoesNotBelong (object? property, object? entityType, object? expectedType);
public static string PropertyDoesNotBelong (object? property, object? expectedType, object? actualType);
static member PropertyDoesNotBelong : obj * obj * obj -> string
static member PropertyDoesNotBelong : obj * obj * obj -> string
Public Shared Function PropertyDoesNotBelong (property As Object, entityType As Object, expectedType As Object) As String
Public Shared Function PropertyDoesNotBelong (property As Object, expectedType As Object, actualType As Object) As String

参数

property
Object
entityTypeexpectedType
Object
expectedTypeactualType
Object

返回

适用于