| Visual Basic (Usage) | Copy Code |
|---|---|
Dim values() As UShort Dim value As UInt16Collection value = UInt16Collection.ToUInt16Collection(values) | |
| C# | |
|---|---|
public static UInt16Collection ToUInt16Collection( ushort[] values ) | |
Parameters
- values
- An array of System.UInt16 values to conver to a collection
Converts an array to a collection.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x