Expression.New Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a NewExpression.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
New(ConstructorInfo) | Creates a NewExpression that represents calling the specified constructor that takes no arguments. |
|
New(Type) | Creates a NewExpression that represents calling the parameterless constructor of the specified type. |
|
New(ConstructorInfo, IEnumerable<Expression>) | Creates a NewExpression that represents calling the specified constructor with the specified arguments. |
|
New(ConstructorInfo, Expression[]) | Creates a NewExpression that represents calling the specified constructor with the specified arguments. |
|
New(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. |
|
New(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. |
Show: