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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.LiveMapping Namespace > UAMappingProvider Class : GetTypeMappingDefinition Method
The type for which the type mapping definition should be obtained.
Obtains a type mapping definition for a given type, either by looking up an already loaded definition, or loading it, if not known to the provider yet.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Shadows Function GetTypeMappingDefinition( _
   ByVal type As Type _
) As UATypeMappingDefinition
'Usage
 
Dim instance As UAMappingProvider
Dim type As Type
Dim value As UATypeMappingDefinition
 
value = instance.GetTypeMappingDefinition(type)
[CanBeNull()]
public new UATypeMappingDefinition GetTypeMappingDefinition( 
   Type type
)
[CanBeNull()]
public:
new UATypeMappingDefinition^ GetTypeMappingDefinition( 
   Type^ type
) 

Parameters

type
The type for which the type mapping definition should be obtained.

Return Value

The existing or newly loaded type mapping definition; null if the type is not for mapping.
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