EasyUA Reference
CastToServerType Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > Session Class : CastToServerType Method

val
Value to be converted
dataType
The target data type

Glossary Item Box

Converts the object to the data type specified by the UA data type NodeId.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As Session
Dim val As Object
Dim dataType As NodeId
Dim value As Object
 
value = instance.CastToServerType(val, dataType)
C# 
public object CastToServerType( 
   object val,
   NodeId dataType
)

Parameters

val
Value to be converted
dataType
The target data type

Return Value

The converted value

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.