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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAClientMapper 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 Overrides NotOverridable Function CreateItemMapping( _
   ByVal parent As AbstractMapping, _
   ByVal itemAttribute As DAItemAttribute _
) As DAItemMapping
'Usage
 
Dim instance As DAClientMapper
Dim parent As AbstractMapping
Dim itemAttribute As DAItemAttribute
Dim value As DAItemMapping
 
value = instance.CreateItemMapping(parent, itemAttribute)
[NotNull()]
protected internal override DAItemMapping CreateItemMapping( 
   AbstractMapping parent,
   DAItemAttribute itemAttribute
)
[NotNull()]
protected internal:
DAItemMapping^ CreateItemMapping( 
   AbstractMapping^ parent,
   DAItemAttribute^ itemAttribute
) override 

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