Expression.New Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows Phone New(ConstructorInfo) Creates a NewExpression that represents calling the specified constructor that takes no arguments.
Public methodStatic memberSupported by Silverlight for Windows Phone New(Type) Creates a NewExpression that represents calling the parameterless constructor of the specified type.
Public methodStatic memberSupported by Silverlight for Windows Phone New(ConstructorInfo, IEnumerable<Expression>) Creates a NewExpression that represents calling the specified constructor with the specified arguments.
Public methodStatic memberSupported by Silverlight for Windows Phone New(ConstructorInfo, array<Expression[]) Creates a NewExpression that represents calling the specified constructor with the specified arguments.
Public methodStatic memberSupported by Silverlight for Windows Phone 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.
Public methodStatic memberSupported by Silverlight for Windows Phone New(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.

Top