# OpcModifiedHistoryValue Members

> Reference: Represents a value of the modified history of a node together with the information about its modification.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcModifiedHistoryValue</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Inherits members from [OpcHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistoryvalue/members), [OpcValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvalue/members).

## Constructors

### OpcModifiedHistoryValue

<span class="api-meta">3 overloads</span>

| Overload | Description |
|---|---|
| [OpcModifiedHistoryValue(object, DateTime, OpcHistoryModificationInfo)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#opcmodifiedhistoryvalue-system-object-system-datetime-opc-uafx-opchistorymodificationinfo) | Initializes a new instance of the [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) class using the `value`, `timestamp` and `modificationInfo` specified. |
| [OpcModifiedHistoryValue(object, DateTime, OpcStatus, OpcHistoryModificationInfo)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#opcmodifiedhistoryvalue-system-object-system-datetime-opc-uafx-opcstatus-opc-uafx-opchistorymodificationinfo) | Initializes a new instance of the [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) class using the `value`, `timestamp`, `status` and `modificationInfo` specified. |
| [OpcModifiedHistoryValue(object, DateTime, OpcStatusCode, OpcHistoryModificationInfo)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#opcmodifiedhistoryvalue-system-object-system-datetime-opc-uafx-opcstatuscode-opc-uafx-opchistorymodificationinfo) | Initializes a new instance of the [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) class using the `value`, `timestamp`, `statusCode` and `modificationInfo` specified. |

**Exceptions (all overloads)**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `modificationInfo` is a null reference (Nothing in Visual Basic). |

#### OpcModifiedHistoryValue(object, DateTime, OpcHistoryModificationInfo)

Initializes a new instance of the [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) class using the `value`, `timestamp` and `modificationInfo` specified.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcModifiedHistoryValue(
    object value,
    DateTime timestamp,
    OpcHistoryModificationInfo modificationInfo)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    value As Object,
    timestamp As Date,
    modificationInfo As OpcHistoryModificationInfo)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Object](https://learn.microsoft.com/dotnet/api/system.object) | The value. |
| `timestamp` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The time of the value, which is used as the source and the server timestamp. |
| `modificationInfo` | [OpcHistoryModificationInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistorymodificationinfo/) | The information about the modification. |

#### OpcModifiedHistoryValue(object, DateTime, OpcStatus, OpcHistoryModificationInfo)

Initializes a new instance of the [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) class using the `value`, `timestamp`, `status` and `modificationInfo` specified.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcModifiedHistoryValue(
    object value,
    DateTime timestamp,
    OpcStatus status,
    OpcHistoryModificationInfo modificationInfo)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(
    value As Object,
    timestamp As Date,
    status As OpcStatus,
    modificationInfo As OpcHistoryModificationInfo)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Object](https://learn.microsoft.com/dotnet/api/system.object) | The value. |
| `timestamp` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The time of the value, which is used as the source and the server timestamp. |
| `status` | [OpcStatus](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatus/) | The status of the value. |
| `modificationInfo` | [OpcHistoryModificationInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistorymodificationinfo/) | The information about the modification. |

#### OpcModifiedHistoryValue(object, DateTime, OpcStatusCode, OpcHistoryModificationInfo)

Initializes a new instance of the [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) class using the `value`, `timestamp`, `statusCode` and `modificationInfo` specified.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcModifiedHistoryValue(
    object value,
    DateTime timestamp,
    OpcStatusCode statusCode,
    OpcHistoryModificationInfo modificationInfo)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
<CLSCompliant(False)>
Public Sub New(
    value As Object,
    timestamp As Date,
    statusCode As OpcStatusCode,
    modificationInfo As OpcHistoryModificationInfo)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | [Object](https://learn.microsoft.com/dotnet/api/system.object) | The value. |
| `timestamp` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The time of the value, which is used as the source timestamp. |
| `statusCode` | [OpcStatusCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/) | The status code of the value. |
| `modificationInfo` | [OpcHistoryModificationInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistorymodificationinfo/) | The information about the modification. |

**Remarks**

Unlike the other constructors, this constructor sets the source timestamp only; the server timestamp remains unset.

## Properties

### ModificationInfo

Gets the information about the modification of the value.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcHistoryModificationInfo ModificationInfo { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property ModificationInfo As OpcHistoryModificationInfo
```

</div>

**Property value**

[OpcHistoryModificationInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistorymodificationinfo/)

The information about the modification.

### ModificationTime

Gets the time of the modification of the value.

<div class="api-signature" data-lang="csharp">

```csharp
public DateTime ModificationTime { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property ModificationTime As Date
```

</div>

**Property value**

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

The [Time](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistorymodificationinfo/members#time) of the [ModificationInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#modificationinfo).

### ModificationType

Gets the kind of the modification of the value.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcHistoryModificationType ModificationType { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property ModificationType As OpcHistoryModificationType
```

</div>

**Property value**

[OpcHistoryModificationType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistorymodificationtype/)

The [Type](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistorymodificationinfo/members#type) of the [ModificationInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#modificationinfo).

### ModificationUserName

Gets the name of the user who modified the value.

<div class="api-signature" data-lang="csharp">

```csharp
public string ModificationUserName { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property ModificationUserName As String
```

</div>

**Property value**

[String](https://learn.microsoft.com/dotnet/api/system.string)

The [UserName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistorymodificationinfo/members#username) of the [ModificationInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#modificationinfo).

### Timestamp

<span class="api-meta">override</span>

Gets the time of the modification of the value.

<div class="api-signature" data-lang="csharp">

```csharp
public override DateTime Timestamp { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Overrides ReadOnly Property Timestamp As Date
```

</div>

**Property value**

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

The [ModificationTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#modificationtime).

**Overrides**

[Timestamp](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistoryvalue/members#timestamp)

**Remarks**

Unlike [Timestamp](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistoryvalue/members#timestamp), the property provides the time of the modification, not the time of the value, which the [ServerTimestamp](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvalue/members#servertimestamp) and [SourceTimestamp](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvalue/members#sourcetimestamp) provide.

## Methods

### CompareTo

Compares the current [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) with another [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/).

<div class="api-signature" data-lang="csharp">

```csharp
public int CompareTo(OpcModifiedHistoryValue other)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function CompareTo(other As OpcModifiedHistoryValue) As Integer
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) to compare with this [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/). |

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

A 32-bit signed integer that indicates the relative order of the objects being compared ([CompareTo(T)](https://learn.microsoft.com/dotnet/api/system.icomparable-1.compareto)).

### Equals

<span class="api-meta">2 overloads</span>

| Overload | Description |
|---|---|
| [Equals(object)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#equals-system-object)<span class="api-meta">override</span> | Determines whether the specified `other` is equal to this [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/). |
| [Equals(OpcModifiedHistoryValue)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/members#equals-opc-uafx-opcmodifiedhistoryvalue) | Determines whether the specified `other` is equal to this [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/). |

#### Equals(object)

<span class="api-meta">override</span>

Determines whether the specified `other` is equal to this [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/).

<div class="api-signature" data-lang="csharp">

```csharp
public override bool Equals(object other)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Overrides Function Equals(other As Object) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [Object](https://learn.microsoft.com/dotnet/api/system.object) | The [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) to compare to the current [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/). |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) is equal to the current [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/); otherwise the value false.

**Overrides**

[Equals](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistoryvalue/members#equals-system-object)

#### Equals(OpcModifiedHistoryValue)

Determines whether the specified `other` is equal to this [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/).

<div class="api-signature" data-lang="csharp">

```csharp
public bool Equals(OpcModifiedHistoryValue other)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Function Equals(other As OpcModifiedHistoryValue) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `other` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) to compare to the current [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/). |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) is equal to the current [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/); otherwise the value false.

### GetHashCode

<span class="api-meta">override</span>

Retrieves a hash code for this [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/).

<div class="api-signature" data-lang="csharp">

```csharp
public override int GetHashCode()
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Overrides Function GetHashCode() As Integer
```

</div>

**Returns**

[Int32](https://learn.microsoft.com/dotnet/api/system.int32)

An [int](https://learn.microsoft.com/dotnet/api/system.int32) that contains the hash code for the [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/).

**Overrides**

[GetHashCode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opchistoryvalue/members#gethashcode)

## Operators

### Equality

<span class="api-meta">static</span>

Returns a value indicating whether two instance of [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) are equal.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator ==(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator =(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The first [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) to compare. |
| `right` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The second [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) to compare. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if left and right are equal; otherwise the value false.

### GreaterThan

<span class="api-meta">static</span>

Determines whether the first specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object is greater than the second specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator >(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator >(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The first [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object. |
| `right` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The second [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is greater than `right`; otherwise, false.

### GreaterThanOrEqual

<span class="api-meta">static</span>

Determines whether the first specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object is greater than or equal to the second specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator >=(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator >=(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The first [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object. |
| `right` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The second [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is greater than or equal to `right`; otherwise, false.

### Inequality

<span class="api-meta">static</span>

Returns a value indicating whether two instances of [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) are not equal.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator !=(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator <>(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The first [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) to compare. |
| `right` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The second [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) to compare. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if left and right are not equal; otherwise the value false.

### LessThan

<span class="api-meta">static</span>

Determines whether the first specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object is less than the second specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator <(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator <(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The first [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object. |
| `right` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The second [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is less than `right`; otherwise the value false.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `left` is a null reference (Nothing in Visual Basic). |

### LessThanOrEqual

<span class="api-meta">static</span>

Determines whether the first specified [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object is less than or equal to the second [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object.

<div class="api-signature" data-lang="csharp">

```csharp
public static bool operator <=(
    OpcModifiedHistoryValue left,
    OpcModifiedHistoryValue right)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Shared Operator <=(
    left As OpcModifiedHistoryValue,
    right As OpcModifiedHistoryValue) As Boolean
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `left` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The first [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object. |
| `right` | [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) | The second [OpcModifiedHistoryValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmodifiedhistoryvalue/) object. |

**Returns**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if `left` is less than or equal to `right`; otherwise the value false.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `left` is a null reference (Nothing in Visual Basic). |
