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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.LiveMapping Namespace > CommonMappingProvider 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 Function GetMetaValue( _
   ByVal metaName As String, _
   ByVal targetObject As Object, _
   ByVal mappingContext As AbstractMappingContext, _
   ByVal mapper As AbstractMapper _
) As Object
'Usage
 
Dim instance As CommonMappingProvider
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

CommonMappingProvider 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