# OpcUpdateNodeHistory Class

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

Represents a command which updates values in the history of a node.

## Syntax

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

```csharp
public class OpcUpdateNodeHistory : OpcNodeHistoryCommand
```

</div>

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

```vbnet
Public Class OpcUpdateNodeHistory
    Inherits OpcNodeHistoryCommand
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/) → [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) → [OpcNodeHistoryCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodehistorycommand/) → **OpcUpdateNodeHistory**

## Derived types

- [OpcCreateNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opccreatenodehistory/)
- [OpcReplaceNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreplacenodehistory/)

## Remarks

Derived commands, such as [OpcCreateNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opccreatenodehistory/) and [OpcReplaceNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreplacenodehistory/), define the kind of change through the [UpdateType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcupdatenodehistory/members#updatetype).

## Constructors

| Name | Description |
|---|---|
| [OpcUpdateNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcupdatenodehistory/members#opcupdatenodehistory)<span class="api-meta">10 overloads</span> | Initializes a new instance of the OpcUpdateNodeHistory class using the `nodeId` and `values` specified. |

## Properties

| Name | Description |
|---|---|
| [UpdateType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcupdatenodehistory/members#updatetype) | Gets the kind of change the command performs on the history of the node. |

Inherits members from [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members), [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/members).

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
