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



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

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

Gives information about OPC Data Access property (on some OPC item).

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

Creates a property mapping.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Friend MustOverride Function CreatePropertyMapping( _
   ByVal parent As AbstractMapping, _
   ByVal propertyAttribute As DAPropertyAttribute _
) As DAPropertyMapping
'Usage
 
Dim instance As DAMapper
Dim parent As AbstractMapping
Dim propertyAttribute As DAPropertyAttribute
Dim value As DAPropertyMapping
 
value = instance.CreatePropertyMapping(parent, propertyAttribute)
[NotNull()]
protected internal abstract DAPropertyMapping CreatePropertyMapping( 
   AbstractMapping parent,
   DAPropertyAttribute propertyAttribute
)
[NotNull()]
protected internal:
abstract DAPropertyMapping^ CreatePropertyMapping( 
   AbstractMapping^ parent,
   DAPropertyAttribute^ propertyAttribute
) 

Parameters

parent
A parent mapping.

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

propertyAttribute
Gives information about OPC Data Access property (on some OPC item).

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

Return Value

The property 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