OPC Studio User's Guide and Reference
AddTypeMappingDefinition Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMappingProvider Class : AddTypeMappingDefinition Method
The type for which the type mapping definition is being added.
The type mapping definition.
Adds a type mapping definition for a specified type to this mapping provider.
Syntax
'Declaration
 
Public Sub AddTypeMappingDefinition( _
   ByVal type As Type, _
   ByVal typeMappingDefinition As AbstractTypeMappingDefinition _
) 
'Usage
 
Dim instance As AbstractMappingProvider
Dim type As Type
Dim typeMappingDefinition As AbstractTypeMappingDefinition
 
instance.AddTypeMappingDefinition(type, typeMappingDefinition)
public void AddTypeMappingDefinition( 
   Type type,
   AbstractTypeMappingDefinition typeMappingDefinition
)
public:
void AddTypeMappingDefinition( 
   Type^ type,
   AbstractTypeMappingDefinition^ typeMappingDefinition
) 

Parameters

type
The type for which the type mapping definition is being added.
typeMappingDefinition
The type mapping definition.
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