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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.LiveMapping Namespace > UAMappingProvider 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
 
<NotNullAttribute()>
Public Overrides NotOverridable Function CreateMappingContext( _
   ByVal mappingContextTemplate As AbstractMappingContext _
) As AbstractMappingContext
'Usage
 
Dim instance As UAMappingProvider
Dim mappingContextTemplate As AbstractMappingContext
Dim value As AbstractMappingContext
 
value = instance.CreateMappingContext(mappingContextTemplate)
[NotNull()]
public override AbstractMappingContext CreateMappingContext( 
   AbstractMappingContext mappingContextTemplate
)
[NotNull()]
public:
AbstractMappingContext^ CreateMappingContext( 
   AbstractMappingContext^ mappingContextTemplate
) override 

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