共用方式為


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

定義

類型 '{type}' 的比較子不能用於 '{entityType}。{propertyName}',因為它的類型是 '{propertyType}'。

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

參數

type
Object
entityType
Object
propertyName
Object
propertyType
Object

傳回

適用於