Skip to content

Reference

OpcDataTypeAttribute Class

Defines the identifier of a custom data type which is represented by the Type on that this attribute is applied.

Reference

OpcDataTypeAttribute Class ​

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

Defines the identifier of 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 = false, Inherited = false)]
public class OpcDataTypeAttribute : Attribute
vbnet
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Struct Or AttributeTargets.Enum, AllowMultiple:=False, Inherited:=False)>
Public Class OpcDataTypeAttribute
    Inherits Attribute

Inheritance ​

Object → Attribute → OpcDataTypeAttribute

Constructors ​

NameDescription
OpcDataTypeAttribute12 overloadsInitializes a new instance of the OpcDataTypeAttribute class using the id to use to identify the according data type node.

Properties ​

NameDescription
Descriptionsince v2.8Gets or sets a human readable text that describes the data type.
IdGets the node identifier used to define the data type node of the Type to that the attribute has been applied.
Namesince v2.32Gets or sets the name of the data type.
NamespaceUrisince v2.13Gets or sets the URI (Uniform Resource Identifier) or string literal used to identify the namespace of the Type, to that the attribute has been applied, belongs to.
UseDataTypeDefinitionsince v2.26Gets or sets a value indicating whether the data type is to be declared in a custom data type definition.
UseDataTypeDescriptionsince v2.13Gets or sets a value indicating whether the data type is to be declared in a custom data type dictionary.

Methods ​

NameDescription
GetNamespacesince v2.13Retrieves the OpcNamespace referenced to by the OpcDataTypeAttribute.

Inherits members from Attribute.

Applies to ​

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