Reference
OpcMemberSwitch Class
Declares the condition under which an optional member exists in dependency of the value of a switch member.
Reference
OpcMemberSwitch Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcMemberSwitch Members
- Also in
- Opc.UaFx.Client
Declares the condition under which an optional member exists in dependency of the value of a switch member. The switch member can be either a single bit in the 'EncodingMask' or a different member its value is compared to a switch value (see Value).
Syntax
csharp
public class OpcMemberSwitchvbnet
Public Class OpcMemberSwitchInheritance
Object → OpcMemberSwitch
Constructors
| Name | Description |
|---|---|
| OpcMemberSwitch | Initializes a new instance of the OpcMemberSwitch class which refers to the bit specified. |
Properties
| Name | Description |
|---|---|
| Bit | Gets the zero-based number of the bit in the 'EncodingMask' which controls the existence of an optional member. |
| Conditions | Gets a value which identities in which way the current OpcMemberSwitch decides whether a member exists. |
| Name | Gets the name of the switch member its value is compared to control the existence of an optional member. |
| Operator | Gets a value which defines the relational operator to use when comparing the value of a referenced Bit or the value of a referenced switch member refered to by Name. |
| Value | Gets the value towards the value of the switch member, referenced by the Bit of the 'EncodingMask' or by the Name, is to be compared using the Operator of the OpcMemberSwitch. |
Methods
| Name | Description |
|---|---|
| Equals | Provides a generic named equality OpcMemberSwitch evaluating to the value specified. |
| Matches | Evaluates the switch condition against the value specified. |
| ToString | Returns a string representing the information used by the current OpcMemberSwitch. |
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

