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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAMappingProvider 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 DATypeMappingDefinition
'Usage
 
Dim instance As DAMappingProvider
Dim type As Type
Dim value As DATypeMappingDefinition
 
value = instance.GetTypeMappingDefinition(type)
[CanBeNull()]
public new DATypeMappingDefinition GetTypeMappingDefinition( 
   Type type
)
[CanBeNull()]
public:
new DATypeMappingDefinition^ 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