OPC Studio User's Guide and Reference
CollectMemberMappings Method (UAMappingProvider)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.LiveMapping Namespace > UAMappingProvider Class : CollectMemberMappings Method
The mapping definition for the member whose mappings should be collected. The mapping definition for the member whose mappings should be collected.
The type of the target object.The type of the target object.
The target object.The target object.
Information about the member being mapped.Information about the member being mapped.
The mapping context.The mapping context.
The current mapper.The current mapper.
Makes all mappings given by member mapping definition. Makes all mappings given by member mapping definition.
Syntax
'Declaration
 
Protected Overrides NotOverridable Sub CollectMemberMappings( _
   ByVal memberMappingDefinition As AbstractMemberMappingDefinition, _
   ByVal targetType As Type, _
   ByVal targetObject As Object, _
   ByVal memberInfo As MemberInfo, _
   ByVal mappingContext As AbstractMappingContext, _
   ByVal mapper As AbstractMapper _
) 
'Usage
 
Dim instance As UAMappingProvider
Dim memberMappingDefinition As AbstractMemberMappingDefinition
Dim targetType As Type
Dim targetObject As Object
Dim memberInfo As MemberInfo
Dim mappingContext As AbstractMappingContext
Dim mapper As AbstractMapper
 
instance.CollectMemberMappings(memberMappingDefinition, targetType, targetObject, memberInfo, mappingContext, mapper)

Parameters

memberMappingDefinition
The mapping definition for the member whose mappings should be collected. The mapping definition for the member whose mappings should be collected.
targetType
The type of the target object.The type of the target object.
targetObject
The target object.The target object.
memberInfo
Information about the member being mapped.Information about the member being mapped.
mappingContext
The mapping context.The mapping context.
mapper
The current 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