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



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

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