# OpcPropertyNode Class

<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>
<dt>Members</dt>
<dd><a href="./members">OpcPropertyNode Members</a></dd>
</dl>

Defines a property node.

## Syntax

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

```csharp
public class OpcPropertyNode : OpcVariableNode
```

</div>

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

```vbnet
<OpcNodeType(68)>
Public Class OpcPropertyNode
    Inherits OpcVariableNode
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/) → [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/) → [OpcVariableNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvariablenode/) → **OpcPropertyNode**

## Implements

<ul class="api-implements">
<li><a href="../opc.uafx.iopcnode/">IOpcNode</a></li>
<li><a href="../opc.uafx.iopcnodeinfo/">IOpcNodeInfo</a></li>
<li><a href="../opc.uafx.iopcvariablenodeinfo/">IOpcVariableNodeInfo</a></li>
</ul>

## Derived types

- [OpcEngineeringUnitInfoPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcengineeringunitinfopropertynode/)
- [OpcEnumValuesPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcenumvaluespropertynode/)
- [OpcNamePropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnamepropertynode/)
- [OpcNodeIdPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeidpropertynode/)
- [OpcPropertyNode&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode-1/)
- [OpcServerStatePropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcserverstatepropertynode/)
- [OpcTextArrayPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctextarraypropertynode/)
- [OpcTextPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctextpropertynode/)
- [OpcValueRangePropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvaluerangepropertynode/)

## Remarks

The property node is a specialization of the [OpcVariableNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvariablenode/) there its reference type is [HasProperty](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasproperty) and its type definition is [Property](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcvariabletype/#property).

## Constructors

| Name | Description |
|---|---|
| [OpcPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#opcpropertynode)<span class="api-meta">18 overloads</span> | Initializes a new instance of the OpcPropertyNode class accessible by the `name` specified. |

## Properties

| Name | Description |
|---|---|
| [DefaultReferenceTypeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#defaultreferencetypeid)<span class="api-meta">protected · override</span> | Gets the default identifier which identifies the type that defines the underlying node reference within this [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/) is referenced by its parent node. |
| [DefaultTypeDefinitionId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#defaulttypedefinitionid)<span class="api-meta">protected · override</span> | Gets the default identifier which identifies the node that defines the underlying node type from that this [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/) has been created. |
| [ReadPropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#readpropertyvaluecallback) | Gets or sets a callback used to read the property value. |
| [WritePropertyValueCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#writepropertyvaluecallback) | Gets or sets a callback used to write the property value. |

## Methods

| Name | Description |
|---|---|
| [ReadPropertyValueCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#readpropertyvaluecore)<span class="api-meta">protected · virtual</span> | Reads the value of the property node using the `context` and `value` information specified. |
| [ReadVariableValueCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#readvariablevaluecore)<span class="api-meta">protected · override</span> | Reads the value of the variable node using the `context` and `value` information specified. |
| [WritePropertyValueCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#writepropertyvaluecore)<span class="api-meta">protected · virtual</span> | Writes the value of the property node using the `context` and `value` information specified. |
| [WriteVariableValueCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode/members#writevariablevaluecore)<span class="api-meta">protected · override</span> | Writes the value of the variable node using the `context` and `value` information specified. |

Inherits members from [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).

## Applies to

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