# OpcReadNamePropertyValueCallback 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 read the value of a name property node.

## Syntax

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

```csharp
public delegate OpcPropertyValue<OpcName> OpcReadNamePropertyValueCallback(
    OpcReadPropertyValueContext<OpcNamePropertyNode> context,
    OpcPropertyValue<OpcName> value)
```

</div>

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

```vbnet
Public Delegate Function OpcReadNamePropertyValueCallback(
    context As OpcReadPropertyValueContext(Of OpcNamePropertyNode),
    value As OpcPropertyValue(Of OpcName)) As OpcPropertyValue(Of OpcName)
```

</div>

## Parameters

| Name | Type | Description |
|---|---|---|
| `context` | [OpcReadPropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadpropertyvaluecontext-1/)&lt;[OpcNamePropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamepropertynode/)&gt; | The [OpcReadPropertyValueContext&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadpropertyvaluecontext-1/) to use to read 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 preliminary [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/). |

## 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 determined [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/).

## Applies to

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