QuickOPC User's Guide and Reference
MapType(AbstractTypeMappingDefinition,Type,Object,AbstractMappingContext,AbstractMapper) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMappingProvider Class > MapType Method : MapType(AbstractTypeMappingDefinition,Type,Object,AbstractMappingContext,AbstractMapper) Method
The mapping definition for the type being mapped.
The type of the target object.
The target object.
The mapping context.
The current mapper.
Maps a type, given the type mapping definition.
Syntax
'Declaration
 
Public Overloads Sub MapType( _
   ByVal typeMappingDefinition As AbstractTypeMappingDefinition, _
   ByVal targetType As Type, _
   ByVal targetObject As Object, _
   ByVal mappingContext As AbstractMappingContext, _
   ByVal mapper As AbstractMapper _
) 
'Usage
 
Dim instance As AbstractMappingProvider
Dim typeMappingDefinition As AbstractTypeMappingDefinition
Dim targetType As Type
Dim targetObject As Object
Dim mappingContext As AbstractMappingContext
Dim mapper As AbstractMapper
 
instance.MapType(typeMappingDefinition, targetType, targetObject, mappingContext, mapper)

Parameters

typeMappingDefinition
The mapping definition for the type being mapped.
targetType
The type of the target object.
targetObject
The target object.
mappingContext
The mapping context.
mapper
The current mapper.
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