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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > GenericData Class : Validate Method
Validates the current data. The associated data type, if present, is used for validation.
Syntax
'Declaration
 
Public Sub Validate() 
'Usage
 
Dim instance As GenericData
 
instance.Validate()
public void Validate()
public:
void Validate(); 
Exceptions
ExceptionDescription
The data validation has failed.
Remarks
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