QuickOPC User's Guide and Reference
FromVarTypes Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComInterop Namespace > VarType Class : FromVarTypes Method
Enumerated value to be converted.
Converts an enumerated value to a VarType object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromVarTypes( _
   ByVal internalValue As VarTypes _
) As VarType
'Usage
 
Dim internalValue As VarTypes
Dim value As VarType
 
value = VarType.FromVarTypes(internalValue)
[NotNull()]
public static VarType FromVarTypes( 
   VarTypes internalValue
)
[NotNull()]
public:
static VarType^ FromVarTypes( 
   VarTypes internalValue
) 

Parameters

internalValue
Enumerated value 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