Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll
Defines the identifier of a custom data type which is represented by the Type on that this attribute is applied.
C#
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)] public class OpcDataTypeAttribute : Attribute, _Attribute
Inheritance Object › Attribute › OpcDataTypeAttribute
Attributes AttributeUsageAttribute
Implements InteropServices._Attribute
Name | Description |
---|---|
OpcDataTypeAttribute(Byte) | Initializes a new instance of the OpcDataTypeAttribute class using the id to use to identify the according data type node. |
OpcDataTypeAttribute(Byte, Int32) | Initializes a new instance of the OpcDataTypeAttribute class using the id and namespaceIndex to use to identify the according data type node. |
OpcDataTypeAttribute(Byte, String) | Initializes a new instance of the OpcDataTypeAttribute class using the id and namespaceUri specified to use to identify the according data type node. |
OpcDataTypeAttribute(Int32) | Initializes a new instance of the OpcDataTypeAttribute class using the id to use to identify the according data type node. |
OpcDataTypeAttribute(Int32, Int32) | Initializes a new instance of the OpcDataTypeAttribute class using the id and namespaceIndex to use to identify the according data type node. |
OpcDataTypeAttribute(Int32, String) | Initializes a new instance of the OpcDataTypeAttribute class using the id and namespaceUri specified to use to identify the according data type node. |
OpcDataTypeAttribute(String) | Initializes a new instance of the OpcDataTypeAttribute class using the id to use to identify the according data type node. |
OpcDataTypeAttribute(String, Int32) | Initializes a new instance of the OpcDataTypeAttribute class using the id and namespaceIndex to use to identify the according data type node. |
OpcDataTypeAttribute(String, String) | Initializes a new instance of the OpcDataTypeAttribute class using the id and namespaceUri specified to use to identify the according data type node. |
OpcDataTypeAttribute(UInt32) | Initializes a new instance of the OpcDataTypeAttribute class using the id to use to identify the according data type node. |
OpcDataTypeAttribute(UInt32, Int32) | Initializes a new instance of the OpcDataTypeAttribute class using the id and namespaceIndex to use to identify the according data type node. |
OpcDataTypeAttribute(UInt32, String) | Initializes a new instance of the OpcDataTypeAttribute class using the id and namespaceUri specified to use to identify the according data type node. |
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. |
NamespaceUri | Gets 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. |
UseDataTypeDescription | Gets or sets a value indicating whether the data type is to be described in a custom data type dictionary. |
Name | Description |
---|---|
GetNamespace | Retrieves the OpcNamespace referenced to by the OpcDataTypeAttribute. |