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

extensions
The array to convert.
elementType
The type of each element.

Glossary Item Box

Converts an array of extension objects to an array of the specified type.

Syntax

Visual Basic (Usage)Copy Code
Dim extensions As Array
Dim elementType As Type
Dim value As Array
 
value = ExtensionObject.ToArray(extensions, elementType)
C# 
public static Array ToArray( 
   Array extensions,
   Type elementType
)

Parameters

extensions
The array to convert.
elementType
The type of each element.

Return Value

The new array

Remarks

Will add null elements if individual elements cannot be converted.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.