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 value of this parameter can be null (Nothing in Visual Basic).

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 value of this parameter can be null (Nothing in Visual Basic).

Return Value

The newly created mapping context.

This method never returns 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