# OpcNodeAction&lt;T, T1&gt; Delegate

> Reference: Represents a method which performs an operation with one argument on a node of the type T.

<dl class="api-definition">
<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>
</dl>

Represents a method which performs an operation with one argument on a node of the type `T`.

## Syntax

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

```csharp
public delegate void OpcNodeAction<T, in T1>(
    OpcNodeContext<T> context,
    T1 arg)
    where T : OpcNode
```

</div>

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

```vbnet
Public Delegate Sub OpcNodeAction(Of T As OpcNode, In T1)(
    context As OpcNodeContext(Of T),
    arg As T1)
```

</div>

## Type parameters

| Name | Description |
|---|---|
| `T` | The type of the node. |
| `T1` | The type of the argument. |

## Parameters

| Name | Type | Description |
|---|---|---|
| `context` | [OpcNodeContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodecontext-1/)&lt;T&gt; | The [OpcNodeContext&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodecontext-1/) of the node. |
| `arg` | T1 | The argument of the operation. |

## Applies to

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