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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAClientMapper Class : CreateFolderSource Method
A mapping context for OPC Data Access.

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

Member mapping definition for members involved in OPC Data Access mapping.

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

Creates a folder source.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Protected Friend Overrides NotOverridable Function CreateFolderSource( _
   ByVal mappingContext As DAMappingContext, _
   ByVal memberMappingDefinition As DAMemberMappingDefinition _
) As DAFolderSource
'Usage
 
Dim instance As DAClientMapper
Dim mappingContext As DAMappingContext
Dim memberMappingDefinition As DAMemberMappingDefinition
Dim value As DAFolderSource
 
value = instance.CreateFolderSource(mappingContext, memberMappingDefinition)
[CanBeNull()]
protected internal override DAFolderSource CreateFolderSource( 
   DAMappingContext mappingContext,
   DAMemberMappingDefinition memberMappingDefinition
)
[CanBeNull()]
protected internal:
DAFolderSource^ CreateFolderSource( 
   DAMappingContext^ mappingContext,
   DAMemberMappingDefinition^ memberMappingDefinition
) override 

Parameters

mappingContext
A mapping context for OPC Data Access.

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

memberMappingDefinition
Member mapping definition for members involved in OPC Data Access mapping.

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

Return Value

The folder source created.

This method can return 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