Expression::ListInit Method
.NET Framework (current version)
Creates a ListInitExpression.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ListInit(NewExpression^, array<ElementInit^>^) | Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection. |
![]() ![]() | ListInit(NewExpression^, array<Expression^>^) | Creates a ListInitExpression that uses a method named "Add" to add elements to a collection. |
![]() ![]() | ListInit(NewExpression^, IEnumerable<ElementInit^>^) | Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection. |
![]() ![]() | ListInit(NewExpression^, IEnumerable<Expression^>^) | Creates a ListInitExpression that uses a method named "Add" to add elements to a collection. |
![]() ![]() | ListInit(NewExpression^, MethodInfo^, array<Expression^>^) | Creates a ListInitExpression that uses a specified method to add elements to a collection. |
![]() ![]() | ListInit(NewExpression^, MethodInfo^, IEnumerable<Expression^>^) | Creates a ListInitExpression that uses a specified method to add elements to a collection. |
Show:

