Skip to content

Reference

OpcDataTypeMapperAttribute Members

Defines data type mappings supported by an implementation of the IOpcDataTypeMapper interface.

Reference

OpcDataTypeMapperAttribute Members ​

Type
OpcDataTypeMapperAttribute
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from Attribute.

Constructors ​

OpcDataTypeMapperAttribute ​

Initializes a new instance of the OpcDataTypeMapperAttribute class using the sourceType and targetType supported by the data type mapper.

csharp
public OpcDataTypeMapperAttribute(Type sourceType, Type targetType)
vbnet
Public Sub New(sourceType As Type, targetType As Type)

Parameters

NameTypeDescription
sourceTypeTypeThe Type of object which is to be mapped to the targetType.
targetTypeTypeThe Type to which the sourceType is to be mapped.

Properties ​

SourceType ​

Gets the Type from an object can be mapped to the TargetType using the mapper this attribute applies to.

csharp
public Type SourceType { get; }
vbnet
Public ReadOnly Property SourceType As Type

Property value

Type

The Type which can be mapped.

TargetType ​

Gets the Type to that an object is mapped using this mapper this attribute applies to.

csharp
public Type TargetType { get; }
vbnet
Public ReadOnly Property TargetType As Type

Property value

Type

The resulting Type after mapping an object of the SourceType.