OPC Studio User's Guide and Reference
Map(Object,AbstractMappingContext) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMapper Class > Map Method : Map(Object,AbstractMappingContext) Method
The target object to be mapped.

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

The mapping context to use.

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

Maps a given object, using a specified mapping context.
Syntax
'Declaration
 
Public Overloads Sub Map( _
   ByVal targetObject As Object, _
   ByVal mappingContext As AbstractMappingContext _
) 
'Usage
 
Dim instance As AbstractMapper
Dim targetObject As Object
Dim mappingContext As AbstractMappingContext
 
instance.Map(targetObject, mappingContext)

Parameters

targetObject
The target object to be mapped.

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

mappingContext
The mapping context to use.

The value of this parameter cannot be 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