OPC Studio User's Guide and Reference
ConvertBack Method (IDataConverter)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Data Namespace > IDataConverter Interface : ConvertBack Method
The value to be converted.

The value of this parameter can be null (Nothing in Visual Basic).

The converter parameter to use.

The value of this parameter can be null (Nothing in Visual Basic).

The culture to use in the converter.

The value of this parameter cannot be null (Nothing in Visual Basic).

Converts a value in the opposite direction.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function ConvertBack( _
   ByVal value As Object, _
   ByVal parameter As Object, _
   ByVal culture As CultureInfo _
) As Object
'Usage
 
Dim instance As IDataConverter
Dim value As Object
Dim parameter As Object
Dim culture As CultureInfo
Dim value As Object
 
value = instance.ConvertBack(value, parameter, culture)
[CanBeNull()]
object ConvertBack( 
   object value,
   object parameter,
   CultureInfo culture
)
[CanBeNull()]
Object^ ConvertBack( 
   Object^ value,
   Object^ parameter,
   CultureInfo^ culture
) 

Parameters

value
The value to be converted.

The value of this parameter can be null (Nothing in Visual Basic).

parameter
The converter parameter to use.

The value of this parameter can be null (Nothing in Visual Basic).

culture
The culture to use in the converter.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

A converted value.

This method can return null (Nothing in Visual Basic).

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