QuickOPC User's Guide and Reference
CreatePropertySource Method (DAMapper)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAMapper Class : CreatePropertySource Method
A mapping context for OPC Data Access.
Member mapping definition for members involved in OPC Data Access mapping.
Creates a property source.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Protected Friend MustOverride Function CreatePropertySource( _
   ByVal mappingContext As DAMappingContext, _
   ByVal memberMappingDefinition As DAMemberMappingDefinition _
) As DAPropertySource
'Usage
 
Dim instance As DAMapper
Dim mappingContext As DAMappingContext
Dim memberMappingDefinition As DAMemberMappingDefinition
Dim value As DAPropertySource
 
value = instance.CreatePropertySource(mappingContext, memberMappingDefinition)
[CanBeNull()]
protected internal abstract DAPropertySource CreatePropertySource( 
   DAMappingContext mappingContext,
   DAMemberMappingDefinition memberMappingDefinition
)
[CanBeNull()]
protected internal:
abstract DAPropertySource^ CreatePropertySource( 
   DAMappingContext^ mappingContext,
   DAMemberMappingDefinition^ memberMappingDefinition
) 

Parameters

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

Return Value

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