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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAClientMapper Class : CreateItemSource Method
A mapping context for OPC Data Access.A mapping context for OPC Data Access.
Member mapping definition for members involved in OPC Data Access mapping.Member mapping definition for members involved in OPC Data Access mapping.
Creates an item source. Creates an item source.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Protected Friend Overrides NotOverridable Function CreateItemSource( _
   ByVal mappingContext As DAMappingContext, _
   ByVal memberMappingDefinition As DAMemberMappingDefinition _
) As DAItemSource
'Usage
 
Dim instance As DAClientMapper
Dim mappingContext As DAMappingContext
Dim memberMappingDefinition As DAMemberMappingDefinition
Dim value As DAItemSource
 
value = instance.CreateItemSource(mappingContext, memberMappingDefinition)
[CanBeNull()]
protected internal override DAItemSource CreateItemSource( 
   DAMappingContext mappingContext,
   DAMemberMappingDefinition memberMappingDefinition
)
[CanBeNull()]
protected internal:
DAItemSource^ CreateItemSource( 
   DAMappingContext^ mappingContext,
   DAMemberMappingDefinition^ memberMappingDefinition
) override 

Parameters

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

Return Value

The item source created.The item source created.
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