Язык

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

Возвращаемое значение

Применяется к