# OpcFileWriteMethodNode Members

> Reference: Defines a method node to write data to a file.

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

### OpcFileWriteMethodNode

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

| Overload | Description |
|---|---|
| [OpcFileWriteMethodNode(FileWriteCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-opcfilewritemethodnode-filewritecallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) class with the [OpcFileWriteMethodNode.FileWriteCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewritecallback/) call given by `callback`. |
| [OpcFileWriteMethodNode(FileWriteExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-opcfilewritemethodnode-filewriteexcallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) class with the [OpcFileWriteMethodNode.FileWriteExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewriteexcallback/) call given by `callback`. |
| [OpcFileWriteMethodNode(OpcName, FileWriteCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-opcname-opc-uafx-opcfilewritemethodnode-filewritecallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) class accessible by the `name` specified with the [OpcFileWriteMethodNode.FileWriteCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewritecallback/) call given by `callback`. |
| [OpcFileWriteMethodNode(OpcName, FileWriteExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-opcname-opc-uafx-opcfilewritemethodnode-filewriteexcallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) class accessible by the `name` specified with the [OpcFileWriteMethodNode.FileWriteExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewriteexcallback/) call given by `callback`. |
| [OpcFileWriteMethodNode(OpcName, OpcNodeId, FileWriteCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcfilewritemethodnode-filewritecallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) class accessible by the `name` and `id` specified with the delegate to call given by `callback`. |
| [OpcFileWriteMethodNode(OpcName, OpcNodeId, FileWriteExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcfilewritemethodnode-filewriteexcallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) class accessible by the `name` and `id` specified with the delegate to call given by `callback`. |
| [OpcFileWriteMethodNode(IOpcNode, OpcName, FileWriteCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcfilewritemethodnode-filewritecallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) class accessible by the `name` specified with the [OpcFileWriteMethodNode.FileWriteCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewritecallback/) call given by `callback` as a child node of the `parent` node given. |
| [OpcFileWriteMethodNode(IOpcNode, OpcName, FileWriteExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcfilewritemethodnode-filewriteexcallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) class accessible by the `name` specified with the [OpcFileWriteMethodNode.FileWriteExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewriteexcallback/) call given by `callback` as a child node of the `parent` node given. |
| [OpcFileWriteMethodNode(IOpcNode, OpcName, OpcNodeId, FileWriteCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcfilewritemethodnode-filewritecallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) 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. |
| [OpcFileWriteMethodNode(IOpcNode, OpcName, OpcNodeId, FileWriteExCallback)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/members#opcfilewritemethodnode-opc-uafx-iopcnode-opc-uafx-opcname-opc-uafx-opcnodeid-opc-uafx-opcfilewritemethodnode-filewriteexcallback) | Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) 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. |

#### OpcFileWriteMethodNode(FileWriteCallback)

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

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

```csharp
public OpcFileWriteMethodNode(OpcFileWriteMethodNode.FileWriteCallback callback)
```

</div>

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

```vbnet
Public Sub New(callback As OpcFileWriteMethodNode.FileWriteCallback)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `callback` | [OpcFileWriteMethodNode.FileWriteCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewritecallback/) | The [OpcFileWriteMethodNode.FileWriteCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewritecallback/) to call on method invokation of the new file write method node. |

#### OpcFileWriteMethodNode(FileWriteExCallback)

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

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

```csharp
public OpcFileWriteMethodNode(
    OpcFileWriteMethodNode.FileWriteExCallback callback)
```

</div>

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

```vbnet
Public Sub New(callback As OpcFileWriteMethodNode.FileWriteExCallback)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `callback` | [OpcFileWriteMethodNode.FileWriteExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewriteexcallback/) | The [OpcFileWriteMethodNode.FileWriteExCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode.filewriteexcallback/) to call on method invokation of the new file write method node. |

#### OpcFileWriteMethodNode(OpcName, FileWriteCallback)

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

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

```csharp
public OpcFileWriteMethodNode(
    OpcName name,
    OpcFileWriteMethodNode.FileWriteCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    name As OpcName,
    callback As OpcFileWriteMethodNode.FileWriteCallback)
```

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

#### OpcFileWriteMethodNode(OpcName, FileWriteExCallback)

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

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

```csharp
public OpcFileWriteMethodNode(
    OpcName name,
    OpcFileWriteMethodNode.FileWriteExCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    name As OpcName,
    callback As OpcFileWriteMethodNode.FileWriteExCallback)
```

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

#### OpcFileWriteMethodNode(OpcName, OpcNodeId, FileWriteCallback)

Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) 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 OpcFileWriteMethodNode(
    OpcName name,
    OpcNodeId id,
    OpcFileWriteMethodNode.FileWriteCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    name As OpcName,
    id As OpcNodeId,
    callback As OpcFileWriteMethodNode.FileWriteCallback)
```

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

#### OpcFileWriteMethodNode(OpcName, OpcNodeId, FileWriteExCallback)

Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) 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 OpcFileWriteMethodNode(
    OpcName name,
    OpcNodeId id,
    OpcFileWriteMethodNode.FileWriteExCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    name As OpcName,
    id As OpcNodeId,
    callback As OpcFileWriteMethodNode.FileWriteExCallback)
```

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

#### OpcFileWriteMethodNode(IOpcNode, OpcName, FileWriteCallback)

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

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

```csharp
public OpcFileWriteMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcFileWriteMethodNode.FileWriteCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    callback As OpcFileWriteMethodNode.FileWriteCallback)
```

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

#### OpcFileWriteMethodNode(IOpcNode, OpcName, FileWriteExCallback)

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

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

```csharp
public OpcFileWriteMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcFileWriteMethodNode.FileWriteExCallback callback)
```

</div>

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

```vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    callback As OpcFileWriteMethodNode.FileWriteExCallback)
```

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

#### OpcFileWriteMethodNode(IOpcNode, OpcName, OpcNodeId, FileWriteCallback)

Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) 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 OpcFileWriteMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcFileWriteMethodNode.FileWriteCallback callback)
```

</div>

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

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

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

#### OpcFileWriteMethodNode(IOpcNode, OpcName, OpcNodeId, FileWriteExCallback)

Initializes a new instance of the [OpcFileWriteMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcfilewritemethodnode/) 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 OpcFileWriteMethodNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcFileWriteMethodNode.FileWriteExCallback callback)
```

</div>

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

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

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