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::ListInit Method

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression^, array<ElementInit^>^)

Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression^, array<Expression^>^)

Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression^, IEnumerable<ElementInit^>^)

Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression^, IEnumerable<Expression^>^)

Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression^, MethodInfo^, array<Expression^>^)

Creates a ListInitExpression that uses a specified method to add elements to a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression^, MethodInfo^, IEnumerable<Expression^>^)

Creates a ListInitExpression that uses a specified method to add elements to a collection.

Return to top
Show:
© 2017 Microsoft