共用方式為


CoreStrings.PropertyClashingNonIndexer(Object, Object) 方法

定義

索引子屬性 '{property}' 無法新增至類型 '{type}',因為 CLR 類型包含同名的成員。 指定不同的名稱,或將 '{property}' 設定為非索引子屬性。

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

參數

property
Object
entityTypetype
Object

傳回

適用於