# OpcFileReadMethodNode Members

> Reference: Defines a method node to read data from a file.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcFileReadMethodNode</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 [OpcMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmethodnode/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

### OpcFileReadMethodNode

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

| Overload | Description |
|---|---|
| [OpcFileReadMethodNode(FileReadCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-opcfilereadmethodnode-filereadcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class with the [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) call given by `callback`. |
| [OpcFileReadMethodNode(FileReadExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-opcfilereadmethodnode-filereadexcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class with the [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) call given by `callback`. |
| [OpcFileReadMethodNode(OpcName, FileReadCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-opcname-opc-uafx-opcfilereadmethodnode-filereadcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` specified with the [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) call given by `callback`. |
| [OpcFileReadMethodNode(OpcName, FileReadExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-opcname-opc-uafx-opcfilereadmethodnode-filereadexcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` specified with the [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) call given by `callback`. |
| [OpcFileReadMethodNode(OpcName, OpcNodeId, FileReadCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcfilereadmethodnode-filereadcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` and `id` specified with the delegate to call given by `callback`. |
| [OpcFileReadMethodNode(OpcName, OpcNodeId, FileReadExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcfilereadmethodnode-filereadexcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` and `id` specified with the delegate to call given by `callback`. |
| [OpcFileReadMethodNode(IOpcNode, OpcName, FileReadCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcfilereadmethodnode-filereadcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` specified with the [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) call given by `callback` as a child node of the `parent` node given. |
| [OpcFileReadMethodNode(IOpcNode, OpcName, FileReadExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcfilereadmethodnode-filereadexcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` specified with the [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) call given by `callback` as a child node of the `parent` node given. |
| [OpcFileReadMethodNode(IOpcNode, OpcName, OpcNodeId, FileReadCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcfilereadmethodnode-filereadcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` and `id` specified with the delegate to call defined by `callback` as a child node of the `parent` node given. |
| [OpcFileReadMethodNode(IOpcNode, OpcName, OpcNodeId, FileReadExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/members#opcfilereadmethodnode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcfilereadmethodnode-filereadexcallback) | Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` and `id` specified with the delegate to call defined by `callback` as a child node of the `parent` node given. |

#### OpcFileReadMethodNode(FileReadCallback)

Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class with the [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) call given by `callback`.

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

```csharp
public OpcFileReadMethodNode(OpcFileReadMethodNode.FileReadCallback callback)
```

</div>

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

```vbnet
Public Sub New(callback As OpcFileReadMethodNode.FileReadCallback)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `callback` | [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) | The [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(FileReadExCallback)

Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class with the [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) call given by `callback`.

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

```csharp
public OpcFileReadMethodNode(OpcFileReadMethodNode.FileReadExCallback callback)
```

</div>

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

```vbnet
Public Sub New(callback As OpcFileReadMethodNode.FileReadExCallback)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `callback` | [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) | The [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(OpcName, FileReadCallback)

Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` specified with the [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) call given by `callback`.

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

```csharp
public OpcFileReadMethodNode(
    OpcName name,
    OpcFileReadMethodNode.FileReadCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    name As OpcName,
    callback As OpcFileReadMethodNode.FileReadCallback)
```

</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 file read method node can be accessed. |
| `callback` | [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) | The [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(OpcName, FileReadExCallback)

Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` specified with the [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) call given by `callback`.

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

```csharp
public OpcFileReadMethodNode(
    OpcName name,
    OpcFileReadMethodNode.FileReadExCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    name As OpcName,
    callback As OpcFileReadMethodNode.FileReadExCallback)
```

</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 file read method node can be accessed. |
| `callback` | [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) | The [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(OpcName, OpcNodeId, FileReadCallback)

Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` and `id` specified with the delegate to call given by `callback`.

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

```csharp
public OpcFileReadMethodNode(
    OpcName name,
    OpcNodeId id,
    OpcFileReadMethodNode.FileReadCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    name As OpcName,
    id As OpcNodeId,
    callback As OpcFileReadMethodNode.FileReadCallback)
```

</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 file read method 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 file read method node can be identified and accessed. |
| `callback` | [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) | The [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(OpcName, OpcNodeId, FileReadExCallback)

Initializes a new instance of the [OpcFileReadMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode/) class accessible by the `name` and `id` specified with the delegate to call given by `callback`.

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

```csharp
public OpcFileReadMethodNode(
    OpcName name,
    OpcNodeId id,
    OpcFileReadMethodNode.FileReadExCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    name As OpcName,
    id As OpcNodeId,
    callback As OpcFileReadMethodNode.FileReadExCallback)
```

</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 file read method 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 file read method node can be identified and accessed. |
| `callback` | [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) | The [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(IOpcNode, OpcName, FileReadCallback)

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

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

```csharp
public OpcFileReadMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcFileReadMethodNode.FileReadCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    callback As OpcFileReadMethodNode.FileReadCallback)
```

</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 file read method node can be accessed. |
| `callback` | [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) | The [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(IOpcNode, OpcName, FileReadExCallback)

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

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

```csharp
public OpcFileReadMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcFileReadMethodNode.FileReadExCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    callback As OpcFileReadMethodNode.FileReadExCallback)
```

</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 file read method node can be accessed. |
| `callback` | [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) | The [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(IOpcNode, OpcName, OpcNodeId, FileReadCallback)

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

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

```csharp
public OpcFileReadMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcFileReadMethodNode.FileReadCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    callback As OpcFileReadMethodNode.FileReadCallback)
```

</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 file read method 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 file read method node can be identified and accessed. |
| `callback` | [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) | The [OpcFileReadMethodNode.FileReadCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadcallback/) to call on method invokation of the new file read method node. |

#### OpcFileReadMethodNode(IOpcNode, OpcName, OpcNodeId, FileReadExCallback)

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

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

```csharp
public OpcFileReadMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcFileReadMethodNode.FileReadExCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    callback As OpcFileReadMethodNode.FileReadExCallback)
```

</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 file read method 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 file read method node can be identified and accessed. |
| `callback` | [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) | The [OpcFileReadMethodNode.FileReadExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilereadmethodnode.filereadexcallback/) to call on method invokation of the new file read method node. |

## Properties

### 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.

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

```csharp
protected override OpcNodeId DefaultTypeDefinitionId { get; }
```

</div>

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

```vbnet
Protected Overrides ReadOnly Property DefaultTypeDefinitionId 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 type node from that this [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/) has been created from. These type node defines the typical structure of an instance node of its type definition. If there exists no specific type definition node a null reference (Nothing in Visual Basic).

**Overrides**

[DefaultTypeDefinitionId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/members#defaulttypedefinitionid)
