Expression.MemberBind Method (MethodInfo, IEnumerable<MemberBinding>)
Creates a MemberMemberBinding that represents the recursive initialization of members of a member that is accessed by using a property accessor method.
Assemblies: System.Core (in System.Core.dll)
System.Linq.Expressions (in System.Linq.Expressions.dll)
public static MemberMemberBinding MemberBind( MethodInfo propertyAccessor, IEnumerable<MemberBinding> bindings )
- Type: System.Reflection.MethodInfo
The MethodInfo that represents a property accessor method.
propertyAccessor or bindings is null.
propertyAccessor does not represent a property accessor method.
The Member property of an element of bindings does not represent a member of the type of the property accessed by the method that propertyAccessor represents.