Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Expression.ListInit Method

Creates a ListInitExpression.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Silverlight for Windows Phone ListInit(NewExpression, IEnumerable<ElementInit>) Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.
Public method Static member Supported by Silverlight for Windows Phone ListInit(NewExpression, IEnumerable<Expression>) Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.
Public method Static member Supported by Silverlight for Windows Phone ListInit(NewExpression, ElementInit[]) Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.
Public method Static member Supported by Silverlight for Windows Phone ListInit(NewExpression, Expression[]) Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.
Public method Static member Supported by Silverlight for Windows Phone ListInit(NewExpression, MethodInfo, IEnumerable<Expression>) Creates a ListInitExpression that uses a specified method to add elements to a collection.
Public method Static member Supported by Silverlight for Windows Phone ListInit(NewExpression, MethodInfo, Expression[]) Creates a ListInitExpression that uses a specified method to add elements to a collection.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.