语言

CoreStrings.PropertyClashingNonIndexer(Object, Object) 方法

定义

索引器属性“{property}”无法添加到类型“{type}”,因为 CLR 类型包含具有相同名称的成员。 指定其他名称或将“{property}”配置为非索引器属性。

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

参数

property
Object
typeentityType
Object

返回

适用于