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



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

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

Gives information about OPC Data Access folder.

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

Creates a folder mapping.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Friend MustOverride Function CreateFolderMapping( _
   ByVal parent As AbstractMapping, _
   ByVal folderAttribute As DAFolderAttribute _
) As DAFolderMapping
'Usage
 
Dim instance As DAMapper
Dim parent As AbstractMapping
Dim folderAttribute As DAFolderAttribute
Dim value As DAFolderMapping
 
value = instance.CreateFolderMapping(parent, folderAttribute)
[NotNull()]
protected internal abstract DAFolderMapping CreateFolderMapping( 
   AbstractMapping parent,
   DAFolderAttribute folderAttribute
)
[NotNull()]
protected internal:
abstract DAFolderMapping^ CreateFolderMapping( 
   AbstractMapping^ parent,
   DAFolderAttribute^ folderAttribute
) 

Parameters

parent
A parent mapping.

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

folderAttribute
Gives information about OPC Data Access folder.

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

Return Value

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