Share via


CoreStrings.ComplexCollectionWrongClrType Method

Definition

The collection complex property '{property}' cannot be added to the type '{type}' because its CLR type '{clrType}' does not implement 'IEnumerable<{targetType}>'. Collection complex property must implement IEnumerable<> of the complex type.

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

Parameters

property
Object
type
Object
clrType
Object
targetType
Object

Returns

Applies to