ReadOnlyCollectionBuilder<T> Constructor (IEnumerable<T>)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Constructs a ReadOnlyCollectionBuilder, copying contents of the given collection.
Namespace: System.Runtime.CompilerServices
Assembly: System.Core (in System.Core.dll)
Syntax
'Declaration
Public Sub New ( _
collection As IEnumerable(Of T) _
)
public ReadOnlyCollectionBuilder(
IEnumerable<T> collection
)
Parameters
- collection
Type: System.Collections.Generic.IEnumerable<T>
Collection to copy elements from.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.