# OpcNodeIdPropertyNode Members

> Reference: Defines a property node for node identifiers.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcNodeIdPropertyNode</a></dd>
<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>

Inherits members from [OpcPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members), [OpcVariableNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvariablenode/members), [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/members), [OpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/members).

## Constructors

### OpcNodeIdPropertyNode

<span class="api-meta">8 overloads</span>

| Overload | Description |
|---|---|
| [OpcNodeIdPropertyNode(OpcName)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#opcnodeidpropertynode-opc-uafx-opcname) | Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` specified. |
| [OpcNodeIdPropertyNode(OpcName, OpcNodeId)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#opcnodeidpropertynode-opc-uafx-opcname-opc-uafx-opcnodeid) | Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` and `id` specified. |
| [OpcNodeIdPropertyNode(OpcName, OpcNodeId, OpcNodeId)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#opcnodeidpropertynode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcnodeid) | Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` and `id` specified with the initial value given by `value`. |
| [OpcNodeIdPropertyNode(IOpcNode, OpcName)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#opcnodeidpropertynode-opc-uafx-iopcnode-opc-uafx-opcname) | Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` specified as a child node of the `parent` node given. |
| [OpcNodeIdPropertyNode(IOpcNode, OpcName, OpcNodeId)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#opcnodeidpropertynode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcnodeid) | Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` and `id` specified as a child node of the `parent` node given. |
| [OpcNodeIdPropertyNode(IOpcNode, OpcName, OpcNodeId, OpcNodeId)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#opcnodeidpropertynode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcnodeid) | Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` and `id` specified with the initial value defined by `value` as a child node of the `parent` node given. |
| [OpcNodeIdPropertyNode(PropertyState&lt;NodeId&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#opcnodeidpropertynode-opc-ua-propertystate-of-opc-ua-nodeid)<span class="api-meta">protected · since v2.50</span> | Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class using the `content` as the instance to wrap. |
| [OpcNodeIdPropertyNode(PropertyState&lt;NodeId&gt;, OpcNodeModel)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#opcnodeidpropertynode-opc-ua-propertystate-of-opc-ua-nodeid-opc-uafx-opcnodemodel)<span class="api-meta">protected · since v2.50</span> | Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class using the `content` as the instance to wrap. |

#### OpcNodeIdPropertyNode(OpcName)

Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` specified.

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

```csharp
public OpcNodeIdPropertyNode(OpcName name)
```

</div>

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

```vbnet
Public Sub New(name As OpcName)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `name` | [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) | The [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) through that the new node identifier property node can be accessed. |

#### OpcNodeIdPropertyNode(OpcName, OpcNodeId)

Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` and `id` specified.

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

```csharp
public OpcNodeIdPropertyNode(OpcName name, OpcNodeId id)
```

</div>

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

```vbnet
Public Sub New(name As OpcName, id As OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `name` | [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) | The [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) through that the new node identifier property node can be accessed. |
| `id` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) through that the new node identifier property node can be identified and accessed. |

#### OpcNodeIdPropertyNode(OpcName, OpcNodeId, OpcNodeId)

Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` and `id` specified with the initial value given by `value`.

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

```csharp
public OpcNodeIdPropertyNode(OpcName name, OpcNodeId id, OpcNodeId value)
```

</div>

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

```vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `name` | [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) | The [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) through that the new node identifier property node can be accessed. |
| `id` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) through that the new node identifier property node can be identified and accessed. |
| `value` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The initial value of the new node identifier property node. |

#### OpcNodeIdPropertyNode(IOpcNode, OpcName)

Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` specified as a child node of the `parent` node given.

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

```csharp
public OpcNodeIdPropertyNode(IOpcNode parent, OpcName name)
```

</div>

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

```vbnet
Public Sub New(parent As IOpcNode, name As OpcName)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `parent` | [IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/) | The [IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/) used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available. |
| `name` | [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) | The [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) through that the new node identifier property node can be accessed. |

#### OpcNodeIdPropertyNode(IOpcNode, OpcName, OpcNodeId)

Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` and `id` specified as a child node of the `parent` node given.

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

```csharp
public OpcNodeIdPropertyNode(IOpcNode parent, OpcName name, OpcNodeId id)
```

</div>

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

```vbnet
Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `parent` | [IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/) | The [IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/) used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available. |
| `name` | [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) | The [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) through that the new node identifier property node can be accessed. |
| `id` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) through that the new node identifier property node can be identified and accessed. |

#### OpcNodeIdPropertyNode(IOpcNode, OpcName, OpcNodeId, OpcNodeId)

Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class accessible by the `name` and `id` specified with the initial value defined by `value` as a child node of the `parent` node given.

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

```csharp
public OpcNodeIdPropertyNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcNodeId value)
```

</div>

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

```vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `parent` | [IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/) | The [IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/) used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available. |
| `name` | [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) | The [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) through that the new node identifier property node can be accessed. |
| `id` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) through that the new node identifier property node can be identified and accessed. |
| `value` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The initial value of the new node identifier property node. |

#### OpcNodeIdPropertyNode(PropertyState&lt;NodeId&gt;)

<span class="api-meta">protected · since v2.50</span>

Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class using the `content` as the instance to wrap.

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

```csharp
protected OpcNodeIdPropertyNode(PropertyState<NodeId> content)
```

</div>

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

```vbnet
Protected Sub New(content As PropertyState(Of NodeId))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `content` | <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.PropertyState">PropertyState</abbr>&lt;<abbr title="OPC Foundation stack type, not documented here: Opc.Ua.NodeId">NodeId</abbr>&gt; | The <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.PropertyState">PropertyState&lt;T&gt;</abbr> to wrap. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `content` is a null reference (Nothing in Visual Basic). |

#### OpcNodeIdPropertyNode(PropertyState&lt;NodeId&gt;, OpcNodeModel)

<span class="api-meta">protected · since v2.50</span>

Initializes a new instance of the [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/) class using the `content` as the instance to wrap.

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

```csharp
protected OpcNodeIdPropertyNode(
    PropertyState<NodeId> content,
    OpcNodeModel model)
```

</div>

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

```vbnet
Protected Sub New(content As PropertyState(Of NodeId), model As OpcNodeModel)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `content` | <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.PropertyState">PropertyState</abbr>&lt;<abbr title="OPC Foundation stack type, not documented here: Opc.Ua.NodeId">NodeId</abbr>&gt; | The <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.PropertyState">PropertyState&lt;T&gt;</abbr> to wrap. |
| `model` | [OpcNodeModel](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodemodel/) | The [OpcNodeModel](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodemodel/) which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `content` is a null reference (Nothing in Visual Basic). |

## Properties

### ReadNodeIdPropertyValueCallback

Gets or sets a callback used to read the node identifier property value.

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

```csharp
public OpcReadNodeIdPropertyValueCallback ReadNodeIdPropertyValueCallback { get; set; }
```

</div>

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

```vbnet
Public Property ReadNodeIdPropertyValueCallback As OpcReadNodeIdPropertyValueCallback
```

</div>

**Property value**

[OpcReadNodeIdPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodeidpropertyvaluecallback/)

A [OpcReadNodeIdPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodeidpropertyvaluecallback/) used to read the node identifier property value as the type [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/). The value can also be a null reference (Nothing in Visual Basic).

**Remarks**

This callback is used in call chain with the [ReadPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#readpropertyvaluecallback) and will be called with the outcome of that callback routine (in case there is one defined).

### Value

Gets or sets the value of the property node.

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

```csharp
public OpcNodeId Value { get; set; }
```

</div>

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

```vbnet
Public Property Value As OpcNodeId
```

</div>

**Property value**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

A [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) representing the value of the property node. This can be also a null reference (Nothing in Visual Basic).

### WriteNodeIdPropertyValueCallback

Gets or sets a callback used to write the node identifier property value.

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

```csharp
public OpcWriteNodeIdPropertyValueCallback WriteNodeIdPropertyValueCallback { get; set; }
```

</div>

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

```vbnet
Public Property WriteNodeIdPropertyValueCallback As OpcWriteNodeIdPropertyValueCallback
```

</div>

**Property value**

[OpcWriteNodeIdPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritenodeidpropertyvaluecallback/)

A [OpcWriteNodeIdPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritenodeidpropertyvaluecallback/) used to write the node identifier property value as the type [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/). The value can also be a null reference (Nothing in Visual Basic).

**Remarks**

This callback is used in call chain with the [WritePropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#writepropertyvaluecallback) and will be called with the outcome of that callback routine (in case there is one defined).

## Methods

### ReadNodeIdPropertyValueCore

<span class="api-meta">protected · virtual</span>

Reads the node identifier value of the property node using the `context` and `value` information specified.

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

```csharp
protected virtual OpcPropertyValue<OpcNodeId> ReadNodeIdPropertyValueCore(
    OpcReadPropertyValueContext<OpcNodeIdPropertyNode> context,
    OpcPropertyValue<OpcNodeId> value)
```

</div>

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

```vbnet
Protected Overridable Function ReadNodeIdPropertyValueCore(
    context As OpcReadPropertyValueContext(Of OpcNodeIdPropertyNode),
    value As OpcPropertyValue(Of OpcNodeId)) As OpcPropertyValue(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `context` | [OpcReadPropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadpropertyvaluecontext-1/)&lt;[OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/)&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 property node value. |
| `value` | [OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt; | The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) containing the currently used value constructed by the value information contained in the property node cache. |

**Returns**

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

The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) read using the [ReadNodeIdPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#readnodeidpropertyvaluecallback) or the `value` if there is no custom callback routine defined.

### ReadNodeIdValue

Reads the node identifier value of the property node.

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

```csharp
public OpcNodeId ReadNodeIdValue(OpcReadVariableValueContext context)
```

</div>

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

```vbnet
Public Function ReadNodeIdValue(
    context As OpcReadVariableValueContext) As OpcNodeId
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `context` | [OpcReadVariableValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadvariablevaluecontext/) | The [OpcReadVariableValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadvariablevaluecontext/) to use when reading the value. |

**Returns**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)

The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) value of the node identifier property node read.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `context` is a null reference (Nothing in Visual Basic). |

### ReadPropertyValueCore

<span class="api-meta">protected · override</span>

Reads the value of the property node using the `context` and `value` information specified.

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

```csharp
protected override sealed OpcPropertyValue<object> ReadPropertyValueCore(
    OpcReadPropertyValueContext context,
    OpcPropertyValue<object> value)
```

</div>

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

```vbnet
Protected NotOverridable Overrides Function ReadPropertyValueCore(
    context As OpcReadPropertyValueContext,
    value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `context` | [OpcReadPropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadpropertyvaluecontext/) | The [OpcReadPropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadpropertyvaluecontext/) to use to read the property node value. |
| `value` | [OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[Object](https://learn.microsoft.com/dotnet/api/system.object)&gt; | The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) containing the currently used value constructed by the value information contained in the property node cache. |

**Returns**

[OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[Object](https://learn.microsoft.com/dotnet/api/system.object)&gt;

The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) read using the [ReadPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#readpropertyvaluecallback) or the `value` if there is no custom callback routine defined.

**Overrides**

[ReadPropertyValueCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#readpropertyvaluecore)

### WriteNodeIdPropertyValueCore

<span class="api-meta">protected · virtual</span>

Writes the node identifier value of the property node using the `context` and `value` information specified.

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

```csharp
protected virtual OpcPropertyValue<OpcNodeId> WriteNodeIdPropertyValueCore(
    OpcWritePropertyValueContext<OpcNodeIdPropertyNode> context,
    OpcPropertyValue<OpcNodeId> value)
```

</div>

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

```vbnet
Protected Overridable Function WriteNodeIdPropertyValueCore(
    context As OpcWritePropertyValueContext(Of OpcNodeIdPropertyNode),
    value As OpcPropertyValue(Of OpcNodeId)) As OpcPropertyValue(Of OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `context` | [OpcWritePropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritepropertyvaluecontext-1/)&lt;[OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/)&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 property node value. |
| `value` | [OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt; | The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) containing the currently used value constructed by the value information contained in the property node cache. |

**Returns**

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

The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) written using the [WriteNodeIdPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/members#writenodeidpropertyvaluecallback) or the `value` if there is no custom callback routine defined.

### WriteNodeIdValue

Writes the value of the property node specified by `value`.

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

```csharp
public void WriteNodeIdValue(
    OpcWriteVariableValueContext context,
    OpcNodeId value)
```

</div>

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

```vbnet
Public Sub WriteNodeIdValue(
    context As OpcWriteVariableValueContext,
    value As OpcNodeId)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `context` | [OpcWriteVariableValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritevariablevaluecontext/) | The [OpcWriteVariableValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritevariablevaluecontext/) to use when writing the value. |
| `value` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) value of the node identifier property node to write. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `context` is a null reference (Nothing in Visual Basic). |

### WritePropertyValueCore

<span class="api-meta">protected · override</span>

Writes the value of the property node using the `context` and `value` information specified.

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

```csharp
protected override sealed OpcPropertyValue<object> WritePropertyValueCore(
    OpcWritePropertyValueContext context,
    OpcPropertyValue<object> value)
```

</div>

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

```vbnet
Protected NotOverridable Overrides Function WritePropertyValueCore(
    context As OpcWritePropertyValueContext,
    value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `context` | [OpcWritePropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritepropertyvaluecontext/) | The [OpcWritePropertyValueContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcwritepropertyvaluecontext/) to use to write the property node value. |
| `value` | [OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[Object](https://learn.microsoft.com/dotnet/api/system.object)&gt; | The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) containing the currently used value constructed by the value information contained in the property node cache. |

**Returns**

[OpcPropertyValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/)&lt;[Object](https://learn.microsoft.com/dotnet/api/system.object)&gt;

The [OpcPropertyValue&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertyvalue-1/) written using the [WritePropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#writepropertyvaluecallback) or the `value` if there is no custom callback routine defined.

**Overrides**

[WritePropertyValueCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#writepropertyvaluecore)
