OpcDataTypeAttribute Members

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

OpcDataTypeAttribute(Byte[])

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.

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.

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.

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.

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.

OpcDataTypeAttribute(Int32)

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.

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.

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.

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.

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.

OpcDataTypeAttribute(String)

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.

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.

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.

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.

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.

OpcDataTypeAttribute(UInt32)

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.

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.

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.

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.

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.

Description

Gets or sets a human readable text that describes the data type.

C#

public string Description { get; set; }


Property Value

String

A value which captures any semantic information that whould help a human to unterstand what is contained in 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.

C#

public OpcNodeId Id { get; }


Property Value

OpcNodeId

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

C#

public string NamespaceUri { get; set; }


Property Value

String

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.

UseDataTypeDescription

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

Boolean

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.

GetNamespace()

Retrieves the OpcNamespace referenced to by the OpcDataTypeAttribute.

C#

public OpcNamespace GetNamespace()


Returns

OpcNamespace

A new OpcNamespace instance which represents the namespace information referenced by the OpcDataTypeAttribute.