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



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

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