GetExpressionRestriction Method
Collapse the table of content
Expand the table of content

BindingRestrictions.GetExpressionRestriction Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates the binding restriction that checks the expression for arbitrary immutable properties.

Namespace:  System.Dynamic
Assembly:  System.Core (in System.Core.dll)

'Declaration
Public Shared Function GetExpressionRestriction ( _
	expression As Expression _
) As BindingRestrictions

Parameters

expression
Type: System.Linq.Expressions.Expression
The expression representing the restrictions.

Return Value

Type: System.Dynamic.BindingRestrictions
The new binding restrictions.

By convention, the general restrictions created by this method must only test immutable object properties.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft