Expression.Bind Method (MemberInfo, Expression)
Creates a MemberAssignment that represents the initialization of a field or property.
Assemblies: System.Core (in System.Core.dll)
System.Linq.Expressions (in System.Linq.Expressions.dll)
static member Bind : member:MemberInfo * expression:Expression -> MemberAssignment
member or expression is a null reference (Nothing in Visual Basic).
member does not represent a field or property.
The property represented by member does not have a set accessor.
expression.Type is not assignable to the type of the field or property that member represents.