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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.LiveMapping Namespace > UAMappingProvider Class : GetMetaValue Method
The name of the meta-member.

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

The target object.

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

The mapping context.

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

The current mapper.

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

Obtains a value of a specified meta-member.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Protected Overrides NotOverridable Function GetMetaValue( _
   ByVal metaName As String, _
   ByVal targetObject As Object, _
   ByVal mappingContext As AbstractMappingContext, _
   ByVal mapper As AbstractMapper _
) As Object
'Usage
 
Dim instance As UAMappingProvider
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.

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

targetObject
The target object.

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

mappingContext
The mapping context.

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

mapper
The current mapper.

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

Return Value

The value of the meta-member.

This method can return null (Nothing in Visual Basic).

Remarks

UAMappingProvider 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