BindingRestrictions.GetExpressionRestriction(Expression) Metodo

Definizione

Crea la restrizione di associazione che controlla l'espressione per le proprietà non modificabili arbitrarie.

public:
 static System::Dynamic::BindingRestrictions ^ GetExpressionRestriction(System::Linq::Expressions::Expression ^ expression);
public static System.Dynamic.BindingRestrictions GetExpressionRestriction(System.Linq.Expressions.Expression expression);
static member GetExpressionRestriction : System.Linq.Expressions.Expression -> System.Dynamic.BindingRestrictions
Public Shared Function GetExpressionRestriction (expression As Expression) As BindingRestrictions

Parametri

expression
Expression

Espressione che rappresenta le restrizioni.

Valori restituiti

Nuove restrizioni di associazione.

Commenti

Per convenzione, le restrizioni generali create da questo metodo devono testare solo le proprietà degli oggetti non modificabili.

Si applica a