Share via


CoreStrings.InvalidMembersExpression(Object) Method

Definition

The expression '{expression}' is not a valid member access expression. The expression should represent a simple property or field access: 't => t.MyProperty'. When specifying multiple properties or fields, use an anonymous type: 't => new {{ t.MyProperty, t.MyField }}'.

public static string InvalidMembersExpression (object expression);
public static string InvalidMembersExpression (object? expression);
static member InvalidMembersExpression : obj -> string
Public Shared Function InvalidMembersExpression (expression As Object) As String

Parameters

expression
Object

Returns

Applies to