| Visual Basic (Usage) | Copy Code |
|---|---|
Dim collection As IEnumerable(Of Boolean) Dim instance As New BooleanCollection(collection) | |
| C# | |
|---|---|
public BooleanCollection( IEnumerable<bool> collection ) | |
Parameters
- collection
- A collection of boolean values to add to this new collection
Creates a new collection and populates the collection with the
values passed in.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x