OPC Studio User's Guide and Reference
Validate Method (_UnionData)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel.ComTypes Namespace > _UnionData Interface : Validate Method
Validates the current data. The associated data type, if present, is used for validation.
Syntax
'Declaration
 
Sub Validate() 
'Usage
 
Dim instance As _UnionData
 
instance.Validate()
void Validate()
void Validate(); 
Exceptions
ExceptionDescription
An error has occurred during application execution.The data validation has failed.
Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

Throws an exception if the validation fails.
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