ListInitExpression.Initializers Property

Definition

Gets the element initializers that are used to initialize a collection.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Linq::Expressions::ElementInit ^> ^ Initializers { System::Collections::ObjectModel::ReadOnlyCollection<System::Linq::Expressions::ElementInit ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.ElementInit> Initializers { get; }
member this.Initializers : System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.ElementInit>
Public ReadOnly Property Initializers As ReadOnlyCollection(Of ElementInit)

Property Value

ReadOnlyCollection<ElementInit>

A ReadOnlyCollection<T> of ElementInit objects which represent the elements that are used to initialize the collection.

Applies to