Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcDataTypeAttribute type exposes the following members.
Initializes a new instance of the OpcDataTypeAttribute class using the id
to use to identify the according data type node.
C#
public OpcDataTypeAttribute(byte[] id)
Parameters
id
Byte[]
The opaque value of the data type node.
Initializes a new instance of the OpcDataTypeAttribute class using the id
and namespaceIndex
to use to identify the according data type node.
C#
public OpcDataTypeAttribute(byte[] id, int namespaceIndex)
Parameters
id
Byte[]
The opaque value of the data type node.
namespaceIndex
Int32
The index of the namespace to that the data type node belongs.
Initializes a new instance of the OpcDataTypeAttribute class using the id
and namespaceUri
specified to use to identify the according data type node.
C#
public OpcDataTypeAttribute(byte[] id, string namespaceUri)
Parameters
id
Byte[]
The opaque value of the data type node.
namespaceUri
String
The namespace URI that the Id should refer to.
Initializes a new instance of the OpcDataTypeAttribute class using the id
to use to identify the according data type node.
C#
public OpcDataTypeAttribute(int id)
Parameters
id
Int32
The numeric identifier of the data type node.
Initializes a new instance of the OpcDataTypeAttribute class using the id
and namespaceIndex
to use to identify the according data type node.
C#
public OpcDataTypeAttribute(int id, int namespaceIndex)
Parameters
id
Int32
The numeric identifier of the data type node.
namespaceIndex
Int32
The index of the namespace to that the data type node belongs.
Initializes a new instance of the OpcDataTypeAttribute class using the id
and namespaceUri
specified to use to identify the according data type node.
C#
public OpcDataTypeAttribute(int id, string namespaceUri)
Parameters
id
Int32
The numeric identifier of the data type node.
namespaceUri
String
The namespace URI that the Id should refer to.
Initializes a new instance of the OpcDataTypeAttribute class using the id
to use to identify the according data type node.
C#
public OpcDataTypeAttribute(string id)
Parameters
id
String
The textual identifier of the data type node.
Initializes a new instance of the OpcDataTypeAttribute class using the id
and namespaceIndex
to use to identify the according data type node.
C#
public OpcDataTypeAttribute(string id, int namespaceIndex)
Parameters
id
String
The textual identifier of the data type node.
namespaceIndex
Int32
The index of the namespace to that the data type node belongs.
Initializes a new instance of the OpcDataTypeAttribute class using the id
and namespaceUri
specified to use to identify the according data type node.
C#
public OpcDataTypeAttribute(string id, string namespaceUri)
Parameters
id
String
The textual identifier of the data type node.
namespaceUri
String
The namespace URI that the Id should refer to.
Initializes a new instance of the OpcDataTypeAttribute class using the id
to use to identify the according data type node.
C#
public OpcDataTypeAttribute(uint id)
Parameters
id
UInt32
The numeric identifier of the data type node.
Initializes a new instance of the OpcDataTypeAttribute class using the id
and namespaceIndex
to use to identify the according data type node.
C#
public OpcDataTypeAttribute(uint id, int namespaceIndex)
Parameters
id
UInt32
The numeric identifier of the data type node.
namespaceIndex
Int32
The index of the namespace to that the data type node belongs.
Initializes a new instance of the OpcDataTypeAttribute class using the id
and namespaceUri
specified to use to identify the according data type node.
C#
public OpcDataTypeAttribute(uint id, string namespaceUri)
Parameters
id
UInt32
The numeric identifier of the data type node.
namespaceUri
String
The namespace URI that the Id should refer to.
Gets or sets a human readable text that describes the data type.
C#
public string Description { get; set; }
Property Value
A value which captures any semantic information that whould help a human to unterstand what is contained in the data type.
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.
C#
public string NamespaceUri { get; set; }
Property Value
The URI (Uniform Resource Identifier) or string literal used to identify the namespace the type belongs to.
Remarks
The value of this property can be determined by reading the value attribute of the “NamespaceUri” variable node beneath the “DataTypeDictionary” variable node of the according “DataTypeSytem” object node within the type is described.
Gets or sets a value indicating whether the data type is to be described in a custom data type dictionary.
C#
public bool UseDataTypeDescription { get; set; }
Property Value
The value if the data type is to be described in a custom data type dictionary; otherwise the value false. The default value is true.
Retrieves the OpcNamespace referenced to by the OpcDataTypeAttribute.
C#
public OpcNamespace GetNamespace()
Returns
A new OpcNamespace instance which represents the namespace information referenced by the OpcDataTypeAttribute.