# OpcEventNodeSnapshot Members

> Reference: Defines a lightweight immutable deep snapshot of a whole 'Opc.UaFx.OpcEventNode'.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcEventNodeSnapshot</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>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

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

## Properties

### EventTypeId

Gets the node identifier identifying the type of 'Opc.UaFx.OpcEventNode' the [OpcEventNodeSnapshot](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventnodesnapshot/) belong to.

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

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

</div>

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

```vbnet
Public ReadOnly Property EventTypeId As OpcNodeId
```

</div>

**Property value**

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

An instance of the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) representing the 'Opc.UaFx.OpcInstanceNode.TypeDefinitionId' of the 'Opc.UaFx.OpcEventNode' from that the snapshot has been created.

## Methods

### Create

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

Creates a new [OpcEventNodeSnapshot](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventnodesnapshot/) from the `node` specified.

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

```csharp
public static OpcEventNodeSnapshot Create(OpcContext context, OpcEventNode node)
```

</div>

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

```vbnet
Public Shared Function Create(
    context As OpcContext,
    node As OpcEventNode) As OpcEventNodeSnapshot
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `context` | [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) | The [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/) to use to collect the snapshot data. |
| `node` | [OpcEventNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventnode/) | The [OpcEventNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventnode/) from which the snapshot data is to be collected. |

**Returns**

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

A new instance of the [OpcEventNodeSnapshot](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventnodesnapshot/) class containing the browsable information of the `node` specified.

**Exceptions**

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