Skip to content

Reference

OpcDataTypeEncodingAttribute Class

Defines the information about the encoding used for a custom data type which is represented by the Type on that this attribute is applied.

Reference

OpcDataTypeEncodingAttribute Class ​

since v2.8

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

Defines the information about the encoding used for a custom data type which is represented by the Type on that this attribute is applied.

Syntax ​

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

Inheritance ​

Object → Attribute → OpcDataTypeEncodingAttribute

Constructors ​

NameDescription
OpcDataTypeEncodingAttribute12 overloadsInitializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.

Properties ​

NameDescription
IdGets the node identifier used to define the data type encoding node of the Type to that the attribute has been applied.
NamespaceUriGets or sets the URI (Uniform Resource Identifier) or string literal used to identify the namespace the encoding of the Type, to that the attribute has been applied, belongs to.
TypeGets or sets the type of encoding the node, referred to by the Id property of this attribute, represents.

Methods ​

NameDescription
GetEncodingRetrieves the OpcEncoding declared by the OpcDataTypeEncodingAttribute.

Inherits members from Attribute.

Applies to ​

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