System.Linq.Expressions.ListInitExpression Class

Represents a constructor call that has a collection initializer.

See Also: ListInitExpression Members

Syntax

[System.Diagnostics.DebuggerTypeProxy(typeof(System.Linq.Expressions.Expression/ListInitExpressionProxy))]
public sealed class ListInitExpression : Expression

Remarks

Use the erload:System.Linq.Expressions.Expression.ListInit factory methods to create a System.Linq.Expressions.ListInitExpression.

The value of the Expression.NodeType property of a System.Linq.Expressions.ListInitExpression is ExpressionType.ListInit.

Requirements

Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0, 4.0.0.0