# OpcWriteNamePropertyValueCallback Delegate

<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 the method that will write the value of a name property node.

## Syntax

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

```csharp
public delegate OpcPropertyValue<OpcName> OpcWriteNamePropertyValueCallback(
    OpcWritePropertyValueContext<OpcNamePropertyNode> context,
    OpcPropertyValue<OpcName> value)
```

</div>

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

```vbnet
Public Delegate Function OpcWriteNamePropertyValueCallback(
    context As OpcWritePropertyValueContext(Of OpcNamePropertyNode),
    value As OpcPropertyValue(Of OpcName)) As OpcPropertyValue(Of OpcName)
```

</div>

## Parameters

| Name | Type | Description |
|---|---|---|
| `context` | [OpcWritePropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritepropertyvaluecontext-1/)&lt;[OpcNamePropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamepropertynode/)&gt; | The [OpcWritePropertyValueContext&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritepropertyvaluecontext-1/) to use to write the name property value. |
| `value` | [OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/)&gt; | The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) to write. |

## Returns

[OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/)&gt;

The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) written.

## Applies to

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