Reference
OpcDictionary<TKey, TValue> Members
Represents a collection of keys and values which can be used as a data type in OPC UA.
Reference
OpcDictionary<TKey, TValue> Members
- Type
- OpcDictionary<TKey, TValue>
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from Dictionary<TKey, TValue>.
Constructors
OpcDictionary
Initializes a new instance of the OpcDictionary<TKey, TValue> class that is empty, has the default initial capacity, and uses the default equality comparer for the key type.
public OpcDictionary()Public Sub New()Methods
RegisterType
| Overload | Description |
|---|---|
| RegisterType() | Registers the OpcDictionary<TKey and TValue to define a non-generic encodable data object type to create in case there a data instance is to be created for the type definition identified by the combination of OpcDictionary<TKey and TValue ( |
| RegisterType( | Registers the OpcDictionary<TKey and TValue to define a non-generic encodable data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId specified. |
| RegisterType( | Registers the OpcDictionary<TKey and TValue to define a non-generic encodable data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId or by one of the data specified. |
RegisterType()
Registers the OpcDictionary<TKey, TValue> using the TKey and TValue to define a non-generic encodable data object type to create in case there a data instance is to be created for the type definition identified by the combination of OpcDictionary<TKey, TValue>, TKey and TValue (on which this method is called) within the namespace index with the number two. This is e.g. for OpcDictionary<TKey, TValue> with TKey equals int and TValue equals string "ns=2;s=OpcDictionary<Int32, String>". The according encoding information is then used as follows "ns=2;s=OpcDictionary<Int32, String>/Default Binary".
public static void RegisterType()Public Shared Sub RegisterType()RegisterType(OpcNodeId)
Registers the OpcDictionary<TKey, TValue> using the TKey and TValue to define a non-generic encodable data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId specified.
public static void RegisterType(OpcNodeId dataTypeId)Public Shared Sub RegisterType(dataTypeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
dataTypeId | OpcNodeId | The identifier of the type definition for which the OpcDictionary< |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The dataTypeId is a null reference ( |
RegisterType(OpcNodeId, params OpcEncoding[])
Registers the OpcDictionary<TKey, TValue> using the TKey and TValue to define a non-generic encodable data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId or by one of the dataTypeEncodings specified.
public static void RegisterType(
OpcNodeId dataTypeId,
params OpcEncoding[] dataTypeEncodings)Public Shared Sub RegisterType(
dataTypeId As OpcNodeId,
ParamArray dataTypeEncodings As OpcEncoding())Parameters
| Name | Type | Description |
|---|---|---|
dataTypeId | OpcNodeId | The identifier of the type definition for which the OpcDictionary< |
data | params OpcEncoding[] | An array of OpcEncoding instances identifying the different encodings supported by the OpcDictionary< |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The dataTypeId or data or one of its items is a null reference ( |

