IOpcUnion Interface

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

Defines that the implementing data type is to be treat like unions.

C#

public interface IOpcUnion
Name Description
SwitchValue Gets or sets the switch value which is evaluated during encoding and decoding of this structure to decide which field is to be decoded or encoded. The value zero defines no property is to be encoded nor decoded. Therefore the first property in the union is transported if this property is equals to the value one (1), the second property if this property is equals to the value two (2) and so on.