OpcDataTypeMapperAttribute Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

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

C#

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public class OpcDataTypeMapperAttribute : Attribute, _Attribute


Inheritance ObjectAttribute › OpcDataTypeMapperAttribute


Attributes AttributeUsageAttribute


Implements InteropServices._Attribute

Name Description
OpcDataTypeMapperAttribute(Type, Type) Initializes a new instance of the OpcDataTypeMapperAttribute class using the sourceType and targetType supported by the data type mapper.
Name Description
SourceType Gets the Type from an Object can be mapped to the TargetType using the mapper this attribute applies to.
TargetType Gets the Type to that an Object is mapped using this mapper this attribute applies to.