Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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^, array<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^>^, array<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:
© 2017 Microsoft