ListInitExpression::Initializers Property
.NET Framework (current version)
Gets the element initializers that are used to initialize a collection.
Assembly: System.Core (in System.Core.dll)
public: property ReadOnlyCollection<ElementInit^>^ Initializers { ReadOnlyCollection<ElementInit^>^ get(); }
Property Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<ElementInit^>^A ReadOnlyCollection<T> of ElementInit objects which represent the elements that are used to initialize the collection.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: