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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMappingProvider Class : GetMetaValue Method
The name of the meta-member.
The target object.
The mapping context.
The current mapper.
Obtains a value of a specified meta-member.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Protected Overridable Function GetMetaValue( _
   ByVal metaName As String, _
   ByVal targetObject As Object, _
   ByVal mappingContext As AbstractMappingContext, _
   ByVal mapper As AbstractMapper _
) As Object
'Usage
 
Dim instance As AbstractMappingProvider
Dim metaName As String
Dim targetObject As Object
Dim mappingContext As AbstractMappingContext
Dim mapper As AbstractMapper
Dim value As Object
 
value = instance.GetMetaValue(metaName, targetObject, mappingContext, mapper)

Parameters

metaName
The name of the meta-member.
targetObject
The target object.
mappingContext
The mapping context.
mapper
The current mapper.

Return Value

The value of the meta-member.
Remarks

AbstractMappingProvider supports following meta-members:

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