OpcDataTypeEncodingAttribute Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Defines the information about the encoding used for 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 = true, Inherited = false)]
public class OpcDataTypeEncodingAttribute : Attribute, _Attribute


Inheritance ObjectAttribute › OpcDataTypeEncodingAttribute


Attributes AttributeUsageAttribute


Implements InteropServices._Attribute

Name Description
OpcDataTypeEncodingAttribute(Byte) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(Byte, Int32) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id and namespaceIndex to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(Byte, String) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id and namespaceUri specified to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(Int32) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(Int32, Int32) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id and namespaceIndex to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(Int32, String) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id and namespaceUri specified to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(String) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(String, Int32) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id and namespaceIndex to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(String, String) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id and namespaceUri specified to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(UInt32) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(UInt32, Int32) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id and namespaceIndex to use to identify the according data type encoding node.
OpcDataTypeEncodingAttribute(UInt32, String) Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id and namespaceUri specified to use to identify the according data type encoding node.
Name Description
Id Gets the node identifier used to define the data type encoding 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 the encoding of the Type, to that the attribute has been applied, belongs to.
Type Gets or sets the type of encoding the node, referred to by the Id property of this attribute, represents.
Name Description
GetEncoding Retrieves the OpcEncoding declared by the OpcDataTypeEncodingAttribute.