語言

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

定義

屬性 '{property}' 無法加入 '{type}' 型別,因為它與所提供的 CLR 屬性或欄位 '{clrName}'' 的名稱不符。 請使用相同名稱或指定不同的CLR成員。

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

參數

property
Object
typeentityType
Object
clrName
Object

傳回

適用於