QuickOPC User's Guide and Reference
FromInt32 Method (VarType)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComInterop Namespace > VarType Class : FromInt32 Method
Numerical VARTYPE to be converted.
Converts a numerical VARTYPE to a VarType object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromInt32( _
   ByVal numericalValue As Integer _
) As VarType
'Usage
 
Dim numericalValue As Integer
Dim value As VarType
 
value = VarType.FromInt32(numericalValue)
[NotNull()]
public static VarType FromInt32( 
   int numericalValue
)
[NotNull()]
public:
static VarType^ FromInt32( 
   int numericalValue
) 

Parameters

numericalValue
Numerical VARTYPE to be converted.

Return Value

Returns a VarType converted from the input argument.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also