| Visual Basic (Usage) | Copy Code |
|---|---|
Dim collection As IEnumerable(Of Short) Dim instance As New Int16Collection(collection) | |
| C# | |
|---|---|
public Int16Collection( IEnumerable<short> collection ) | |
Parameters
- collection
- A collection of System.Int16 values to populate the collection with
Initializes the collection and populates it with the values passed-in
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x