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 : Attributevbnet
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Struct Or AttributeTargets.Enum, AllowMultiple:=False, Inherited:=False)>
Public Class OpcDataTypeAttribute
Inherits AttributeInheritance
Object → Attribute → OpcDataTypeAttribute
Constructors
| Name | Description |
|---|---|
| Opc | Initializes a new instance of the Opcid to use to identify the according data type node. |
Properties
| Name | Description |
|---|---|
| Description | Gets or sets a human readable text that describes the data type. |
| Id | Gets the node identifier used to define the data type node of the Type to that the attribute has been applied. |
| Name | Gets or sets the name of the data type. |
| NamespaceUri | Gets or sets the URI ( |
| Use | Gets or sets a value indicating whether the data type is to be declared in a custom data type definition. |
| Use | Gets or sets a value indicating whether the data type is to be declared in a custom data type dictionary. |
Methods
| Name | Description |
|---|---|
| GetNamespace | Retrieves the OpcNamespace referenced to by the Opc |
Inherits members from Attribute.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

