Skip to content

Reference

OpcDataTypeMapperAttribute Class

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

Reference

OpcDataTypeMapperAttribute Class ​

since v2.27

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

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

Syntax ​

csharp
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public class OpcDataTypeMapperAttribute : Attribute
vbnet
<AttributeUsage(AttributeTargets.Class, AllowMultiple:=True, Inherited:=False)>
Public Class OpcDataTypeMapperAttribute
    Inherits Attribute

Inheritance ​

Object → Attribute → OpcDataTypeMapperAttribute

Constructors ​

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

Properties ​

NameDescription
SourceTypeGets the Type from an object can be mapped to the TargetType using the mapper this attribute applies to.
TargetTypeGets the Type to that an object is mapped using this mapper this attribute applies to.

Inherits members from Attribute.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.27–v2.59