Reference
OpcValue Members
Stores a value optionally associated with status and timestamp information.
Reference
OpcValue Members
- Type
- OpcValue
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcValue
| Overload | Description |
|---|---|
| OpcValue( | Initializes a new instance of the OpcValue class using the value. |
| OpcValue( | Initializes a new instance of the OpcValue class using the value and the sourceTimestamp of the value. |
| OpcValue( | Initializes a new instance of the OpcValue class using the value, sourceTimestamp and status of the value. |
| OpcValue( | Initializes a new instance of the OpcValue class using the value, sourceTimestamp and statusCode of the value. |
| OpcValue( | Initializes a new instance of the OpcValue class using the value, sourceTimestamp and serverTimestamp of the value. |
| OpcValue( | Initializes a new instance of the OpcValue class using the value, sourceTimestamp, serverTimestamp and status of the value. |
| OpcValue( | Initializes a new instance of the OpcValue class using the value, sourceTimestamp, serverTimestamp and statusCode of the value. |
OpcValue(object)
Initializes a new instance of the OpcValue class using the value.
public OpcValue(object value)Public Sub New(value As Object)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value to represent. |
OpcValue(object, DateTime)
Initializes a new instance of the OpcValue class using the value and the sourceTimestamp of the value.
public OpcValue(object value, DateTime sourceTimestamp)Public Sub New(value As Object, sourceTimestamp As Date)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
OpcValue(object, DateTime, OpcStatus)
Initializes a new instance of the OpcValue class using the value, sourceTimestamp and status of the value.
public OpcValue(object value, DateTime sourceTimestamp, OpcStatus status)Public Sub New(value As Object, sourceTimestamp As Date, status As OpcStatus)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
status | OpcStatus | The status information associated with the value. |
OpcValue(object, DateTime, OpcStatusCode)
Initializes a new instance of the OpcValue class using the value, sourceTimestamp and statusCode of the value.
[CLSCompliant(false)]
public OpcValue(
object value,
DateTime sourceTimestamp,
OpcStatusCode statusCode)<CLSCompliant(False)>
Public Sub New(
value As Object,
sourceTimestamp As Date,
statusCode As OpcStatusCode)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
statusCode | OpcStatusCode | One of the OpcStatusCode members which defines the status information associated with the value. |
OpcValue(object, DateTime, DateTime)
Initializes a new instance of the OpcValue class using the value, sourceTimestamp and serverTimestamp of the value.
public OpcValue(
object value,
DateTime sourceTimestamp,
DateTime serverTimestamp)Public Sub New(
value As Object,
sourceTimestamp As Date,
serverTimestamp As Date)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
serverTimestamp | DateTime | The timestamp at which the server recorded the value. |
OpcValue(object, DateTime, DateTime, OpcStatus)
Initializes a new instance of the OpcValue class using the value, sourceTimestamp, serverTimestamp and status of the value.
public OpcValue(
object value,
DateTime sourceTimestamp,
DateTime serverTimestamp,
OpcStatus status)Public Sub New(
value As Object,
sourceTimestamp As Date,
serverTimestamp As Date,
status As OpcStatus)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
serverTimestamp | DateTime | The timestamp at which the server recorded the value. |
status | OpcStatus | The status information associated with the value. |
OpcValue(object, DateTime, DateTime, OpcStatusCode)
Initializes a new instance of the OpcValue class using the value, sourceTimestamp, serverTimestamp and statusCode of the value.
[CLSCompliant(false)]
public OpcValue(
object value,
DateTime sourceTimestamp,
DateTime serverTimestamp,
OpcStatusCode statusCode)<CLSCompliant(False)>
Public Sub New(
value As Object,
sourceTimestamp As Date,
serverTimestamp As Date,
statusCode As OpcStatusCode)Parameters
| Name | Type | Description |
|---|---|---|
value | Object | The value to represent. |
sourceTimestamp | DateTime | The timestamp at which the source produced the value. |
serverTimestamp | DateTime | The timestamp at which the server recorded the value. |
statusCode | OpcStatusCode | One of the OpcStatusCode members which defines the status information associated with the value. |
Properties
DataType
Gets the type of value represented.
public OpcDataType DataType { get; }Public ReadOnly Property DataType As OpcDataTypeProperty value
One of the members defined by the OpcDataType. In case there Value is a null reference (Nothing in Visual Basic) Null.
DataTypeId
Gets the node identifier of the DataType of the value represented.
public virtual OpcNodeId DataTypeId { get; }Public Overridable ReadOnly Property DataTypeId As OpcNodeIdProperty value
An instance of the OpcNodeId representing the node identifier of the DataType.
Rank
Gets the rank of the value represented.
public int Rank { get; }Public ReadOnly Property Rank As IntegerProperty value
The rank of the value or -2 in case there is no type information available for the value represented.
ServerPicoseconds
Gets or sets the difference between a high resolution timestamp with a resolution of 10 picoseconds and the ServerTimestamp which only has a 100 ns resolution.
public ushort ServerPicoseconds { get; set; }Public Property ServerPicoseconds As UShortProperty value
The number of 10 picosecond intervals for the ServerTimestamp.
Remarks
The value should be less than 10 000.
ServerTimestamp
Gets or sets the timestamp at which the server recorded the value.
public DateTime? ServerTimestamp { get; set; }Public Property ServerTimestamp As Date?Property value
The timestamp of the server for the value or a null reference (Nothing in Visual Basic) in case there is no timestamp provided by the server.
SourcePicoseconds
Gets or sets the difference between a high resolution timestamp with a resolution of 10 picoseconds and the SourceTimestamp which only has a 100 ns resolution.
public ushort SourcePicoseconds { get; set; }Public Property SourcePicoseconds As UShortProperty value
The number of 10 picosecond intervals for the SourceTimestamp.
Remarks
The value should be less than 10 000.
SourceTimestamp
Gets or sets the timestamp of the source from that the value originates.
public DateTime? SourceTimestamp { get; set; }Public Property SourceTimestamp As Date?Property value
The timestamp of the source for the value or a null reference (Nothing in Visual Basic) in case there is no timestamp provided by the source of the value.
Status
Gets the status information which defines the servers ability to access/provide the value.
public OpcStatus Status { get; }Public ReadOnly Property Status As OpcStatusProperty value
The status information associated with the value.
Remarks
If the status information indicates an error then the value is to be ignored and the server shall set it to a null reference (Nothing in Visual Basic).
Value
Gets or sets the value represented.
public object Value { get; set; }Public Property Value As ObjectProperty value
The value associated with the metadata represented.
Methods
As
Retrieves the underlying Value as the type specified by T.
public T As<T>(T defaultValue = default)Public Function [As](Of T)(defaultValue As T = Nothing) As TType parameters
| Name | Description |
|---|---|
T | The type to use to retrieve the Value. |
Parameters
| Name | Type | Description |
|---|---|---|
defaultValue | T | The value to provide in the case there the Value is a null reference (default. |
Returns
T
The Value typed as T or defaultValue in case there Value is a null reference (Nothing in Visual Basic) or could not converted to the T specified.
AsValue
Retrieves a new OpcValue<T> instance its Value is of the type specified by T.
public OpcValue<T> AsValue<T>()Public Function AsValue(Of T)() As OpcValue(Of T)Type parameters
| Name | Description |
|---|---|
T | The type to use to retrieve a new OpcValue< |
Returns
OpcValue<T>
A new instance of the OpcValue<T> class its Value is typed as T and its further value information has been adopted from this OpcValue or a null reference (Nothing in Visual Basic) if the Value could not converted to the T specified.
CompareTo
| Overload | Description |
|---|---|
| CompareTo( | Compares the current OpcValue with the other. |
| CompareTo( | Compares the current OpcValue with another OpcValue. |
CompareTo(object)
Compares the current OpcValue with the other.
public virtual int CompareTo(object other)Public Overridable Function CompareTo(other As Object) As IntegerParameters
| Name | Type | Description |
|---|---|---|
other | Object | The OpcValue to compare with this OpcValue. |
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(object)).
Implements
CompareTo(OpcValue)
Compares the current OpcValue with another OpcValue.
public virtual int CompareTo(OpcValue other)Public Overridable Function CompareTo(other As OpcValue) As IntegerParameters
| Name | Type | Description |
|---|---|---|
other | OpcValue | The OpcValue to compare with this OpcValue. |
Returns
A 32-bit signed integer that indicates the relative order of the objects being compared (CompareTo(T)).
Implements
Equals
| Overload | Description |
|---|---|
| Equals( | Determines whether the specified other is equal to this OpcValue. |
| Equals( | Determines whether the specified other is equal to this OpcValue. |
Equals(object)
Determines whether the specified other is equal to this OpcValue.
public override bool Equals(object other)Public Overrides Function Equals(other As Object) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | Object | The OpcValue to compare to the current OpcValue. |
Returns
The value true if the specified OpcValue is equal to the current OpcValue; otherwise the value false.
Overrides
Equals(OpcValue)
Determines whether the specified other is equal to this OpcValue.
public virtual bool Equals(OpcValue other)Public Overridable Function Equals(other As OpcValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
other | OpcValue | The OpcValue to compare to the current OpcValue. |
Returns
The value true if the specified OpcValue is equal to the current OpcValue; otherwise the value false.
Implements
GetHashCode
Retrieves a hash code for this OpcValue.
public override int GetHashCode()Public Overrides Function GetHashCode() As IntegerReturns
An int that contains the hash code for the OpcValue.
Overrides
ToString
| Overload | Description |
|---|---|
| ToString() | Converts the value of this instance to its equivalent string representation. |
| ToString( | Converts the value of this instance to its equivalent string representation using the specified format and culture-specific format information. |
ToString()
Converts the value of this instance to its equivalent string representation.
public override string ToString()Public Overrides Function ToString() As StringReturns
The string representation of the value of this instance.
Overrides
ToString(string, IFormatProvider)
Converts the value of this instance to its equivalent string representation using the specified format and culture-specific format information.
public virtual string ToString(string format, IFormatProvider formatProvider)Public Overridable Function ToString(
format As String,
formatProvider As IFormatProvider) As StringParameters
| Name | Type | Description |
|---|---|---|
format | String | A standard or custom format string. |
formatProvider | IFormatProvider | An object that supplies culture-specific formatting information. |
Returns
The string representation of the value of this instance as specified by format and provider.
Exceptions
| Exception | Condition |
|---|---|
| FormatException | The format is invalid or not supported. |
Implements
ToString(string, IFormatProvider)
Operators
Equality
Returns a value indicating whether two instance of OpcValue are equal.
public static bool operator ==(OpcValue left, OpcValue right)Public Shared Operator =(left As OpcValue, right As OpcValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcValue | The first OpcValue to compare. |
right | OpcValue | The second OpcValue to compare. |
Returns
The value true if left and right are equal; otherwise the value false.
Explicit
Converts a OpcValue to an DataValue object.
[CLSCompliant(false)]
public static explicit operator DataValue(OpcValue value)<CLSCompliant(False)>
Public Shared Narrowing Operator CType(value As OpcValue) As DataValueParameters
| Name | Type | Description |
|---|---|---|
value | OpcValue | A OpcValue that represents the value. |
Returns
DataValue
An instance of the DataValue class initialized from the value.
GreaterThan
Determines whether the first specified OpcValue object is greater than the second specified OpcValue object.
public static bool operator >(OpcValue left, OpcValue right)Public Shared Operator >(left As OpcValue, right As OpcValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcValue | The first OpcValue object. |
right | OpcValue | The second OpcValue object. |
Returns
The value true if left is greater than right; otherwise, false.
GreaterThanOrEqual
Determines whether the first specified OpcValue object is greater than or equal to the second specified OpcValue object.
public static bool operator >=(OpcValue left, OpcValue right)Public Shared Operator >=(left As OpcValue, right As OpcValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcValue | The first OpcValue object. |
right | OpcValue | The second OpcValue object. |
Returns
The value true if left is greater than or equal to right; otherwise, false.
Implicit
implicit operator OpcValue(bool)
Converts a bool to an OpcValue object.
public static implicit operator OpcValue(bool value)Public Shared Widening Operator CType(value As Boolean) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Boolean | A bool that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(bool?)
Converts a null-able bool to an OpcValue object.
public static implicit operator OpcValue(bool? value)Public Shared Widening Operator CType(value As Boolean?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Boolean> | A null-able bool that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(byte)
Converts a byte to an OpcValue object.
public static implicit operator OpcValue(byte value)Public Shared Widening Operator CType(value As Byte) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Byte | A byte that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(byte?)
Converts a null-able byte to an OpcValue object.
public static implicit operator OpcValue(byte? value)Public Shared Widening Operator CType(value As Byte?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Byte> | A null-able byte that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(sbyte)
Converts a sbyte to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(sbyte value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As SByte) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | SByte | A sbyte that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(sbyte?)
Converts a null-able sbyte to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(sbyte? value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As SByte?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<SByte> | A null-able sbyte that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(char)
Converts a char to an OpcValue object.
public static implicit operator OpcValue(char value)Public Shared Widening Operator CType(value As Char) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Char | A char that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(char?)
Converts a null-able char to an OpcValue object.
public static implicit operator OpcValue(char? value)Public Shared Widening Operator CType(value As Char?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Char> | A null-able char that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(decimal)
Converts a decimal to an OpcValue object.
public static implicit operator OpcValue(decimal value)Public Shared Widening Operator CType(value As Decimal) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Decimal | A decimal that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(decimal?)
Converts a null-able decimal to an OpcValue object.
public static implicit operator OpcValue(decimal? value)Public Shared Widening Operator CType(value As Decimal?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Decimal> | A null-able decimal that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(double)
Converts a double to an OpcValue object.
public static implicit operator OpcValue(double value)Public Shared Widening Operator CType(value As Double) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Double | A double that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(double?)
Converts a null-able double to an OpcValue object.
public static implicit operator OpcValue(double? value)Public Shared Widening Operator CType(value As Double?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Double> | A null-able double that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(float)
Converts a float to an OpcValue object.
public static implicit operator OpcValue(float value)Public Shared Widening Operator CType(value As Single) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Single | A float that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(float?)
Converts a null-able float to an OpcValue object.
public static implicit operator OpcValue(float? value)Public Shared Widening Operator CType(value As Single?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Single> | A null-able float that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(int)
Converts a int to an OpcValue object.
public static implicit operator OpcValue(int value)Public Shared Widening Operator CType(value As Integer) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Int32 | A int that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(int?)
Converts a null-able int to an OpcValue object.
public static implicit operator OpcValue(int? value)Public Shared Widening Operator CType(value As Integer?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Int32> | A null-able int that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(uint)
Converts a uint to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(uint value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As UInteger) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | UInt32 | A uint that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(uint?)
Converts a null-able uint to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(uint? value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As UInteger?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<UInt32> | A null-able uint that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(long)
Converts a ulong to an OpcValue object.
public static implicit operator OpcValue(long value)Public Shared Widening Operator CType(value As Long) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Int64 | A ulong that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(long?)
Converts a null-able ulong to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(long? value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As Long?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Int64> | A null-able ulong that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(ulong)
Converts a ulong to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(ulong value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As ULong) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | UInt64 | A ulong that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(ulong?)
Converts a null-able ulong to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(ulong? value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As ULong?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<UInt64> | A null-able ulong that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(short)
Converts a ushort to an OpcValue object.
public static implicit operator OpcValue(short value)Public Shared Widening Operator CType(value As Short) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Int16 | A ushort that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(short?)
Converts a null-able ushort to an OpcValue object.
public static implicit operator OpcValue(short? value)Public Shared Widening Operator CType(value As Short?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<Int16> | A null-able ushort that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(ushort)
Converts a ushort to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(ushort value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As UShort) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | UInt16 | A ushort that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(ushort?)
Converts a null-able ushort to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(ushort? value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As UShort?) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Nullable<UInt16> | A null-able ushort that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(string)
Converts a string to an OpcValue object.
public static implicit operator OpcValue(string value)Public Shared Widening Operator CType(value As String) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | String | A string that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(DataValue)
Converts a DataValue to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(DataValue value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As DataValue) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | DataValue | A DataValue that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
implicit operator OpcValue(Variant)
Converts a Variant to an OpcValue object.
[CLSCompliant(false)]
public static implicit operator OpcValue(Variant value)<CLSCompliant(False)>
Public Shared Widening Operator CType(value As [Variant]) As OpcValueParameters
| Name | Type | Description |
|---|---|---|
value | Variant | A Variant that represents the value. |
Returns
An instance of the OpcValue class initialized from the value.
Inequality
Returns a value indicating whether two instances of OpcValue are not equal.
public static bool operator !=(OpcValue left, OpcValue right)Public Shared Operator <>(left As OpcValue, right As OpcValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcValue | The first OpcValue to compare. |
right | OpcValue | The second OpcValue to compare. |
Returns
The value true if left and right are not equal; otherwise the value false.
LessThan
Determines whether the first specified OpcValue object is less than the second specified OpcValue object.
public static bool operator <(OpcValue left, OpcValue right)Public Shared Operator <(left As OpcValue, right As OpcValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcValue | The first OpcValue object. |
right | OpcValue | The second OpcValue object. |
Returns
The value true if left is less than right; otherwise the value false.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The left is a null reference ( |
LessThanOrEqual
Determines whether the first specified OpcValue object is less than or equal to the second OpcValue object.
public static bool operator <=(OpcValue left, OpcValue right)Public Shared Operator <=(left As OpcValue, right As OpcValue) As BooleanParameters
| Name | Type | Description |
|---|---|---|
left | OpcValue | The first OpcValue object. |
right | OpcValue | The second OpcValue object. |
Returns
The value true if left is less than or equal to right; otherwise the value false.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The left is a null reference ( |

