OPC Studio User's Guide and Reference
GetTargetValue Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMapping Class : GetTargetValue Method
The data type of the value.
Retrieves the mapped value from a target of this mapping.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Function GetTargetValue( _
   ByVal dataType As Type _
) As Object
'Usage
 
Dim instance As AbstractMapping
Dim dataType As Type
Dim value As Object
 
value = instance.GetTargetValue(dataType)
[CanBeNull()]
public object GetTargetValue( 
   Type dataType
)
[CanBeNull()]
public:
Object^ GetTargetValue( 
   Type^ dataType
) 

Parameters

dataType
The data type of the value.

Return Value

The mapped value retrieved from 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