OPC Studio User's Guide and Reference
CreateItemMapping Method (DAMapper)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAMapper Class : CreateItemMapping Method
A parent mapping.

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

Gives information about OPC Data Access item.

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

Creates an item mapping.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Friend MustOverride Function CreateItemMapping( _
   ByVal parent As AbstractMapping, _
   ByVal itemAttribute As DAItemAttribute _
) As DAItemMapping
'Usage
 
Dim instance As DAMapper
Dim parent As AbstractMapping
Dim itemAttribute As DAItemAttribute
Dim value As DAItemMapping
 
value = instance.CreateItemMapping(parent, itemAttribute)
[NotNull()]
protected internal abstract DAItemMapping CreateItemMapping( 
   AbstractMapping parent,
   DAItemAttribute itemAttribute
)
[NotNull()]
protected internal:
abstract DAItemMapping^ CreateItemMapping( 
   AbstractMapping^ parent,
   DAItemAttribute^ itemAttribute
) 

Parameters

parent
A parent mapping.

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

itemAttribute
Gives information about OPC Data Access item.

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

Return Value

The item mapping created.

This method never returns 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