QuickOPC User's Guide and Reference
CheckDataType Method (SequenceData)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > SequenceData Class : CheckDataType Method
Data type to be checked.Data type to be checked.
Infrastructure. Infrastructure.
Syntax
'Declaration
 
Protected Overrides NotOverridable Sub CheckDataType( _
   ByVal dataType As DataType _
) 
'Usage
 
Dim instance As SequenceData
Dim dataType As DataType
 
instance.CheckDataType(dataType)
protected override void CheckDataType( 
   DataType dataType
)
protected:
void CheckDataType( 
   DataType^ dataType
) override 

Parameters

dataType
Data type to be checked.Data type to be checked.
Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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