Expression.New Method

 

Creates a NewExpression.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo)

Creates a NewExpression that represents calling the specified constructor that takes no arguments.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo, Expression[])

Creates a NewExpression that represents calling the specified constructor with the specified arguments.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo, IEnumerable<Expression>)

Creates a NewExpression that represents calling the specified constructor with the specified arguments.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo, IEnumerable<Expression>, IEnumerable<MemberInfo>)

Creates a NewExpression that represents calling the specified constructor with the specified arguments. The members that access the constructor initialized fields are specified.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo, IEnumerable<Expression>, MemberInfo[])

Creates a NewExpression that represents calling the specified constructor with the specified arguments. The members that access the constructor initialized fields are specified as an array.

System_CAPS_pubmethodSystem_CAPS_staticNew(Type)

Creates a NewExpression that represents calling the parameterless constructor of the specified type.

Return to top
Show: