Visual Basic (Usage) | ![]() |
---|---|
Dim dst As Array Dim dstType As BuiltInType Dim src As Array Dim srcType As BuiltInType Dim convertor As TypeInfo.CastArrayElementHandler TypeInfo.CastArray(dst, dstType, src, srcType, convertor) |
C# | |
---|---|
public static void CastArray( Array dst, BuiltInType dstType, Array src, BuiltInType srcType, TypeInfo.CastArrayElementHandler convertor ) |
Parameters
- dst
- The destination array (must have the same size as the source array).
- dstType
- The data type of the elements in the destination array.
- src
- The source array.
- srcType
- The data type of the elements in the source array.
- convertor
- The handler which does the conversion.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x