# OpcFileGetPositionMethodNode.FileGetPositionCallback Delegate

<dl class="api-definition">
<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>

GetPosition is used to provide the current position of the file handle.

## Syntax

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

```csharp
public delegate ulong OpcFileGetPositionMethodNode.FileGetPositionCallback(
    uint fileHandle)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Delegate Function OpcFileGetPositionMethodNode.FileGetPositionCallback(
    fileHandle As UInteger) As ULong
```

</div>

## Parameters

| Name | Type | Description |
|---|---|---|
| `fileHandle` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | A file handle indicating the access request and thus indirectly the position inside the file. |

## Returns

[UInt64](https://learn.microsoft.com/dotnet/api/system.uint64)

The position of the file handle in the file. If a Read or Write is called it starts at that position.

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
