OpcDataTypeEncodingAttribute Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcDataTypeEncodingAttribute type exposes the following members.

OpcDataTypeEncodingAttribute(Byte[])

Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.

C#

public OpcDataTypeEncodingAttribute(byte[] id)


Parameters

id Byte[]

The opaque value of the 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.

C#

public OpcDataTypeEncodingAttribute(byte[] id, int namespaceIndex)


Parameters

id Byte[]

The opaque value of the data type encoding node.

namespaceIndex Int32

The index of the namespace to that the data type encoding node belongs.

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.

C#

public OpcDataTypeEncodingAttribute(byte[] id, string namespaceUri)


Parameters

id Byte[]

The opaque value of the data type encoding node.

namespaceUri String

The namespace URI that the Id should refer to.

OpcDataTypeEncodingAttribute(Int32)

Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.

C#

public OpcDataTypeEncodingAttribute(int id)


Parameters

id Int32

The numeric identifier of the 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.

C#

public OpcDataTypeEncodingAttribute(int id, int namespaceIndex)


Parameters

id Int32

The numeric identifier of the data type encoding node.

namespaceIndex Int32

The index of the namespace to that the data type encoding node belongs.

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.

C#

public OpcDataTypeEncodingAttribute(int id, string namespaceUri)


Parameters

id Int32

The numeric identifier of the data type encoding node.

namespaceUri String

The namespace URI that the Id should refer to.

OpcDataTypeEncodingAttribute(String)

Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.

C#

public OpcDataTypeEncodingAttribute(string id)


Parameters

id String

The textual identifier of the 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.

C#

public OpcDataTypeEncodingAttribute(string id, int namespaceIndex)


Parameters

id String

The textual identifier of the data type encoding node.

namespaceIndex Int32

The index of the namespace to that the data type encoding node belongs.

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.

C#

public OpcDataTypeEncodingAttribute(string id, string namespaceUri)


Parameters

id String

The textual identifier of the data type encoding node.

namespaceUri String

The namespace URI that the Id should refer to.

OpcDataTypeEncodingAttribute(UInt32)

Initializes a new instance of the OpcDataTypeEncodingAttribute class using the id to use to identify the according data type encoding node.

C#

public OpcDataTypeEncodingAttribute(uint id)


Parameters

id UInt32

The numeric identifier of the 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.

C#

public OpcDataTypeEncodingAttribute(uint id, int namespaceIndex)


Parameters

id UInt32

The numeric identifier of the data type encoding node.

namespaceIndex Int32

The index of the namespace to that the data type encoding node belongs.

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.

C#

public OpcDataTypeEncodingAttribute(uint id, string namespaceUri)


Parameters

id UInt32

The numeric identifier of the data type encoding node.

namespaceUri String

The namespace URI that the Id should refer to.

Id

Gets the node identifier used to define the data type encoding node of the Type to that the attribute has been applied.

C#

public OpcNodeId Id { get; }


Property Value

OpcNodeId

An instance of the OpcNodeId which identifies 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.

C#

public string NamespaceUri { get; set; }


Property Value

String

The URI (Uniform Resource Identifier) or string literal used to identify the namespace the encoding 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 like “OPC Binary” when using the OpcEncodingType for Binary or “XML Schema” when using the OpcEncodingType for Xml. data encoding.

Type

Gets or sets the type of encoding the node, referred to by the Id property of this attribute, represents.

C#

public OpcEncodingType Type { get; set; }


Property Value

OpcEncodingType

One of the members defined by the OpcEncodingType enumeration. The default value is Binary.

GetEncoding()

Retrieves the OpcEncoding declared by the OpcDataTypeEncodingAttribute.

C#

public OpcEncoding GetEncoding()


Returns

OpcEncoding

A new OpcEncoding instance which represents the encoding information declared by the OpcDataTypeEncodingAttribute.