| Visual Basic (Usage) | Copy Code |
|---|---|
Dim collection As IEnumerable(Of IEncodeable) Dim instance As New IEncodeableCollection(collection) | |
| C# | |
|---|---|
public IEncodeableCollection( IEnumerable<IEncodeable> collection ) | |
Parameters
- collection
- The collection whose elements are copied to the new list.
| Exception | Description |
|---|---|
| System.ArgumentNullException | collection is null. |
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x