Determines whether a given
OpcLabs.BaseLib.ComInterop.VarType is a valid data type in OPC Data Access.
'Declaration
<ContractAnnotationAttribute("null => false")>
<PureAttribute()>
Public Shared Function IsValidDataType( _
ByVal As VarType _
) As Boolean
'Usage
Dim dataType As VarType
Dim value As Boolean
value = DAUtilities.IsValidDataType(dataType)
[ContractAnnotation("null => false")]
[Pure()]
public static bool IsValidDataType(
VarType
)
[ContractAnnotation("null => false")]
[Pure()]
public:
static bool IsValidDataType(
VarType^
)
Parameters
- dataType
- The data type to be tested.
Return Value
true
if is a valid data type in OPC Data Access; false
otherwise.
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