Share via


CoreStrings.PropertyClashingNonIndexer(Object, Object) Method

Definition

The indexer property '{property}' cannot be added to the type '{type}' because the CLR type contains a member with the same name. Specify a different name or configure '{property}' as a non-indexer 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

Parameters

property
Object
entityTypetype
Object

Returns

Applies to