Skip to content

Reference

OpcFileGetPositionMethodNode.FileGetPositionExCallback Delegate

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

Reference

OpcFileGetPositionMethodNode.FileGetPositionExCallback Delegate ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

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

Syntax ​

csharp
[CLSCompliant(false)]
public delegate ulong OpcFileGetPositionMethodNode.FileGetPositionExCallback(
    OpcMethodContext context,
    uint fileHandle)
vbnet
<CLSCompliant(False)>
Public Delegate Function OpcFileGetPositionMethodNode.FileGetPositionExCallback(
    context As OpcMethodContext,
    fileHandle As UInteger) As ULong

Parameters ​

NameTypeDescription
contextOpcMethodContextThe OpcMethodContext to use when querying the position in the file. This instance will be also updated with the outcome of the method call.
fileHandleUInt32A file handle indicating the access request and thus indirectly the position inside the file.

Returns ​

UInt64

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

Remarks ​

This method does provide the following OpcResult information:

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59