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

返回

适用于