# OpcNodeAccessContext Members

> Reference: Describes a single node accessed by an OpcClient.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcNodeAccessContext</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.client">Opc.UaFx.Client</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

## Properties

### Client

Gets the [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/) used to operate on the node.

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

```csharp
public OpcClient Client { get; }
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public ReadOnly Property Client As OpcClient
```

</div>

**Property value**

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

The [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/) object referenced by the context.

### NodeId

Gets the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node to operate on.

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

```csharp
public OpcNodeId NodeId { get; }
```

</div>

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

```vbnet
Public ReadOnly Property NodeId As OpcNodeId
```

</div>

**Property 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/) of the node accessed by the context.

## Methods

### ToString

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

Returns a string that represents the current [OpcNodeAccessContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeaccesscontext/).

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

```csharp
public override string ToString()
```

</div>

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

```vbnet
Public Overrides Function ToString() As String
```

</div>

**Returns**

[String](https://learn.microsoft.com/dotnet/api/system.string)

A string that represents the current [OpcNodeAccessContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeaccesscontext/) including the used server address of the referenced [Client](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeaccesscontext/members#client) and the associated [NodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeaccesscontext/members#nodeid).

**Overrides**

[ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

### Update

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

Updates the context when the [Client](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeaccesscontext/members#client) starts to reconnect to the server and when it has been reconnected.

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

```csharp
protected virtual void Update()
```

</div>

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

```vbnet
Protected Overridable Sub Update()
```

</div>

**Remarks**

The implementation of the [OpcNodeAccessContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeaccesscontext/) class does nothing.
