Skip to content

Reference

OpcEnumValue Class

Represent a human-readable representation of an enumeration.

Reference

OpcEnumValue Class ​

since v2.53

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcEnumValue Members

Represent a human-readable representation of an enumeration.

Syntax ​

csharp
public class OpcEnumValue
vbnet
Public Class OpcEnumValue

Inheritance ​

Object → OpcEnumValue

Implements ​

Remarks ​

When this type is used in an array representing human-readable representations of an enumeration, each Value shall be unique in that array.

Constructors ​

NameDescription
OpcEnumValue3 overloadsInitializes a new instance of the OpcEnumValue class using the name and value provided.

Properties ​

NameDescription
DescriptionGets a localized description of the enumeration value.
DisplayNameGets a human-readable representation of the value of the enumeration.
NameGets an internal name for the value of the enumeration.
ValueGets the value representation of an enumeration.

Methods ​

NameDescription
CompareTovirtual · 2 overloadsCompares the current OpcEnumValue with the other.
Equals2 overloadsDetermines whether the specified other is equal to this OpcEnumValue.
GetHashCodeoverrideRetrieves a hash code for this OpcEnumValue.
ToStringoverrideConverts the value of this instance to its equivalent string representation.

Operators ​

NameDescription
EqualitystaticReturns a value indicating whether two instance of OpcEnumValue are equal.
GreaterThanstaticDetermines whether the first specified OpcEnumValue object is greater than the second specified OpcEnumValue object.
GreaterThanOrEqualstaticDetermines whether the first specified OpcEnumValue object is greater than or equal to the second specified OpcEnumValue object.
InequalitystaticReturns a value indicating whether two instances of OpcEnumValue are not equal.
LessThanstaticDetermines whether the first specified OpcEnumValue object is less than the second specified OpcEnumValue object.
LessThanOrEqualstaticDetermines whether the first specified OpcEnumValue object is less than or equal to the second OpcEnumValue object.

Applies to ​

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