EasyUA Reference
CastArray(Array,BuiltInType,Array,BuiltInType,CastArrayElementHandler) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > TypeInfo Class > CastArray Method : CastArray(Array,BuiltInType,Array,BuiltInType,CastArrayElementHandler) Method

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.

Glossary Item Box

Converts the array using the specified conversion function.

Syntax

Visual Basic (Usage)Copy Code
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)

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.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.