EasyUA Reference
FlattenArray Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > Utils Class : FlattenArray Method

array

Glossary Item Box

Converts a multidimension array to a flat array.

Syntax

Visual Basic (Usage)Copy Code
Dim array As Array
Dim value As Array
 
value = Utils.FlattenArray(array)
C# 
public static Array FlattenArray( 
   Array array
)

Parameters

array

Remarks

The higher rank dimensions are written first. e.g. a array with dimensions [2,2,2] is written in this order: [0,0,0], [0,0,1], [0,1,0], [0,1,1], [1,0,0], [1,0,1], [1,1,0], [1,1,1]

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.