Skip to content

Reference

OpcValue Class

Stores a generic value optionally associated with status and timestamp information.

Reference

OpcValue<T> Class ​

since v2.8

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcValue<T> Members
Also in
Opc.UaFx.Client

Stores a generic value optionally associated with status and timestamp information.

Syntax ​

csharp
public class OpcValue<T> : OpcValue
vbnet
Public Class OpcValue(Of T)
    Inherits OpcValue

Type parameters ​

NameDescription
T

Inheritance ​

Object → OpcValue → OpcValue<T>

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcValue7 overloadsInitializes a new instance of the OpcValue<T> class using the value.

Properties ​

NameDescription
DataTypeIdoverrideGets the node identifier of the DataType of the value represented.
ValueGets or sets the T value represented.
ValueAsObjectGets or sets the value represented.

Methods ​

NameDescription
CompareTo3 overloadsCompares the current OpcValue<T> with the other.
Equals3 overloadsDetermines whether the specified other is equal to this OpcValue<T>.
GetHashCodeoverrideRetrieves a hash code for this OpcValue<T>.

Operators ​

NameDescription
EqualitystaticReturns a value indicating whether two instance of OpcValue<T> are equal.
ExplicitstaticConverts a OpcValue<T> to an DataValue object.
GreaterThanstaticDetermines whether the first specified OpcValue<T> object is greater than the second specified OpcValue<T> object.
GreaterThanOrEqualstaticDetermines whether the first specified OpcValue<T> object is greater than or equal to the second specified OpcValue<T> object.
Implicitstatic · 2 overloadsConverts a DataValue to an OpcValue<T> object.
InequalitystaticReturns a value indicating whether two instances of OpcValue<T> are not equal.
LessThanstaticDetermines whether the first specified OpcValue<T> object is less than the second specified OpcValue<T> object.
LessThanOrEqualstaticDetermines whether the first specified OpcValue<T> object is less than or equal to the second OpcValue<T> object.

Inherits members from OpcValue.

Applies to ​

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