OPC Studio User's Guide and Reference
CreateMappingContext Method (DAMappingProvider)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAMappingProvider Class : CreateMappingContext Method
The template that contains initial values for the new mapping context.The template that contains initial values for the new mapping context.
Creates a new mapping context, based on a given template. Creates a new mapping context, based on a given template.
Syntax
'Declaration
 
Public Overrides NotOverridable Function CreateMappingContext( _
   ByVal mappingContextTemplate As AbstractMappingContext _
) As AbstractMappingContext
'Usage
 
Dim instance As DAMappingProvider
Dim mappingContextTemplate As AbstractMappingContext
Dim value As AbstractMappingContext
 
value = instance.CreateMappingContext(mappingContextTemplate)
public override AbstractMappingContext CreateMappingContext( 
   AbstractMappingContext mappingContextTemplate
)

Parameters

mappingContextTemplate
The template that contains initial values for the new mapping context.The template that contains initial values for the new mapping context.

Return Value

The newly created mapping context.The newly created mapping context.
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