# OpcWriteValueRangePropertyValueCallback 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 value range property node.

## Syntax

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

```csharp
public delegate OpcPropertyValue<OpcValueRange> OpcWriteValueRangePropertyValueCallback(
    OpcWritePropertyValueContext<OpcValueRangePropertyNode> context,
    OpcPropertyValue<OpcValueRange> value)
```

</div>

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

```vbnet
Public Delegate Function OpcWriteValueRangePropertyValueCallback(
    context As OpcWritePropertyValueContext(Of OpcValueRangePropertyNode),
    value As OpcPropertyValue(Of OpcValueRange)) As OpcPropertyValue(Of OpcValueRange)
```

</div>

## Parameters

| Name | Type | Description |
|---|---|---|
| `context` | [OpcWritePropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritepropertyvaluecontext-1/)&lt;[OpcValueRangePropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvaluerangepropertynode/)&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 value range property value. |
| `value` | [OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[OpcValueRange](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvaluerange/)&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;[OpcValueRange](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvaluerange/)&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 |
