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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMappingProvider Class : GetTypeMappingDefinition Method
The type for which the type mapping definition should be obtained.

The value of this parameter cannot be null (Nothing in Visual Basic).

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 Function GetTypeMappingDefinition( _
   ByVal type As Type _
) As AbstractTypeMappingDefinition
'Usage
 
Dim instance As AbstractMappingProvider
Dim type As Type
Dim value As AbstractTypeMappingDefinition
 
value = instance.GetTypeMappingDefinition(type)
[CanBeNull()]
public AbstractTypeMappingDefinition GetTypeMappingDefinition( 
   Type type
)
[CanBeNull()]
public:
AbstractTypeMappingDefinition^ GetTypeMappingDefinition( 
   Type^ type
) 

Parameters

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

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

The existing or newly loaded type mapping definition; null if the type is not for mapping.

This method can return 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