Share via


CoreStrings.PropertyDoesNotBelong(Object, Object, Object) Method

Definition

The property '{property}' belongs to the type '{expectedType}', but is being used with an instance of type '{actualType}'.

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

Parameters

property
Object
entityTypeexpectedType
Object
expectedTypeactualType
Object

Returns

Applies to