Share via


CoreStrings.InvalidPropertiesExpression(Object) Method

Definition

Caution

This API is now deprecated.

The properties expression '{expression}' is invalid. The expression should represent a simple property access: 't => t.MyProperty'. When specifying multiple properties, use an anonymous type: 't => new {{ t.MyProperty1, t.MyProperty2 }}'.

public static string InvalidPropertiesExpression (object expression);
[System.Obsolete]
public static string InvalidPropertiesExpression (object expression);
[System.Obsolete]
public static string InvalidPropertiesExpression (object? expression);
static member InvalidPropertiesExpression : obj -> string
[<System.Obsolete>]
static member InvalidPropertiesExpression : obj -> string
Public Shared Function InvalidPropertiesExpression (expression As Object) As String

Parameters

expression
Object

Returns

Attributes

Applies to