共用方式為


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

定義

屬性 '{property}' 無法新增至類型 '{type}',因為它不符合所提供 CLR 屬性或欄位 '{clrName}' 的名稱。 使用相同的名稱或指定不同的 CLR 成員。

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

參數

property
Object
entityTypetype
Object
clrName
Object

傳回

適用於