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