共用方式為


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

傳回

適用於