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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel.ComTypes Namespace > _GenericData 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 _GenericData
 
instance.Validate()
void Validate()
void Validate(); 
Exceptions
ExceptionDescription
The data validation has failed.An error has occurred during application execution.
Remarks
Throws an exception if the validation fails.

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.

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