OPC Studio User's Guide and Reference
SetTargetValue Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMapping Class : SetTargetValue Method
The data type of the value.
The mapped value to be stored into the linking target.
Stores a mapped value into the target of this mapping.
Syntax
'Declaration
 
Public Sub SetTargetValue( _
   ByVal dataType As Type, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As AbstractMapping
Dim dataType As Type
Dim value As Object
 
instance.SetTargetValue(dataType, value)
public void SetTargetValue( 
   Type dataType,
   object value
)
public:
void SetTargetValue( 
   Type^ dataType,
   Object^ value
) 

Parameters

dataType
The data type of the value.
value
The mapped value to be stored into the linking target.
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