Skip to content

Reference

Bit Struct

Represents a Bit (high or low) value.

Reference

Bit Struct ​

since v2.8

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
Bit Members
Also in
Opc.UaFx.Client

Represents a Bit (high or low) value.

Syntax ​

csharp
public struct Bit
vbnet
Public Structure Bit

Implements ​

Fields ​

NameDescription
HighstaticRepresents the Bit value high.
HighStringstaticRepresents the Bit value high as a string.
LowstaticRepresents the Bit value low.
LowStringstaticRepresents the Bit value low as a string.

Methods ​

NameDescription
CompareTo2 overloadsCompares the current Bit with the other.
Equals2 overloadsDetermines whether the specified other is equal to this Bit.
GetHashCodeoverrideRetrieves a hash code for this Bit.
GetTypeCodeReturns the type code for the Bit value type.
ParsestaticConverts the specified string representation of a logical value to its Bit equivalent.
ToString2 overloadsConverts the value of this instance to its equivalent string representation (either "High" or "Low").
TryParsestaticTries to convert the specified string representation of a logical value to its Bit equivalent.

Operators ​

NameDescription
EqualitystaticReturns a value indicating whether two values of Bit are equal.
GreaterThanstaticDetermines whether the first specified Bit value is greater than the second specified Bit value.
GreaterThanOrEqualstaticDetermines whether the first specified Bit value is greater than or equal to the second specified Bit value.
Implicitstatic · 11 overloadsConverts a bool to a Bit value.
InequalitystaticReturns a value indicating whether two values of Bit are not equal.
LessThanstaticDetermines whether the first specified Bit value is less than the second specified Bit value.
LessThanOrEqualstaticDetermines whether the first specified Bit value is less than or equal to the second Bit value.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.8–v2.59