# OpcBrowseNodeContext Members

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

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

Inherits members from [OpcNodeAccessContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeaccesscontext/members).

## Properties

### Attributes

<span class="api-meta">since v2.9</span>

Gets the mask used to identify the different attributes to read after a whole layer (controlled by [Degree](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcbrowsenodecontext/members#degree)) of nodes has been browsed.

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

```csharp
public OpcAttributes Attributes { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Attributes As OpcAttributes
```

</div>

**Property value**

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

A combination of the members defined by the [OpcAttributes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattributes/) enumeration used to identify the different attributes (defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration) to read while browsing the different layers of the dedicated node tree.

### Degree

Gets a value indicating the degree of relation to browse at once.

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

```csharp
public OpcBrowseNodeDegree Degree { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Degree As OpcBrowseNodeDegree
```

</div>

**Property value**

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

One of the members defined by the [OpcBrowseNodeDegree](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcbrowsenodedegree/) enumeration.

### Options

<span class="api-meta">since v2.8</span>

Gets the options used to include and exclude information offered by the server while browsing its address space.

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

```csharp
public OpcBrowseOptions Options { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Options As OpcBrowseOptions
```

</div>

**Property value**

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

A combination of the members defined by the [OpcBrowseOptions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcbrowseoptions/) enumeration.

### ReferenceTypeIds

Gets a read-only collection of [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) objects used to identify the different reference types to include while browsing the node tree.

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

```csharp
public OpcReadOnlyNodeIdCollection ReferenceTypeIds { get; }
```

</div>

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

```vbnet
Public ReadOnly Property ReferenceTypeIds As OpcReadOnlyNodeIdCollection
```

</div>

**Property value**

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

An instance of the read-only collection [OpcReadOnlyNodeIdCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadonlynodeidcollection/) containing the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) objects identifying the reference types to include while browsing the node tree.

### View

Gets the [OpcViewDescription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcviewdescription/) which identifies the view used then browsing the node tree.

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

```csharp
public OpcViewDescription View { get; }
```

</div>

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

```vbnet
Public ReadOnly Property View As OpcViewDescription
```

</div>

**Property value**

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

The [OpcViewDescription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcviewdescription/) of the view to browse using this [OpcBrowseNodeContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcbrowsenodecontext/).

## Methods

### OnAddressSpaceExpired

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

Raises the [AddressSpaceExpired](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcbrowsenodecontext/members#addressspaceexpired) event of the [OpcBrowseNodeContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcbrowsenodecontext/).

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

```csharp
protected virtual void OnAddressSpaceExpired(EventArgs e)
```

</div>

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

```vbnet
Protected Overridable Sub OnAddressSpaceExpired(e As EventArgs)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `e` | [EventArgs](https://learn.microsoft.com/dotnet/api/system.eventargs) | The event data. |

### Update

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

Updates the context and raises the [AddressSpaceExpired](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcbrowsenodecontext/members#addressspaceexpired) event.

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

```csharp
protected override sealed void Update()
```

</div>

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

```vbnet
Protected NotOverridable Overrides Sub Update()
```

</div>

**Overrides**

[Update](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeaccesscontext/members#update)

**Remarks**

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

## Events

### AddressSpaceExpired

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

Occurs in case the address space of the server the [Opc.UaFx.Client](https://www.traeger.de/en/docs/development/opcua/api/v2.59/namespaces/opc.uafx.client) is conntected to might or has been changed.

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

```csharp
public event EventHandler AddressSpaceExpired
```

</div>

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

```vbnet
Public Event AddressSpaceExpired As EventHandler
```

</div>

**Event type**

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler)
