Skip to content

Reference

OpcFileSetPositionMethodNode.FileSetPositionCallback Delegate

SetPosition is used to set the current position of the file handle.

Reference

OpcFileSetPositionMethodNode.FileSetPositionCallback Delegate ​

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

SetPosition is used to set the current position of the file handle.

Syntax ​

csharp
[CLSCompliant(false)]
public delegate void OpcFileSetPositionMethodNode.FileSetPositionCallback(
    uint fileHandle,
    ulong position)
vbnet
<CLSCompliant(False)>
Public Delegate Sub OpcFileSetPositionMethodNode.FileSetPositionCallback(
    fileHandle As UInteger,
    position As ULong)

Parameters ​

NameTypeDescription
fileHandleUInt32A file handle indicating the access request and thus indirectly the position inside the file.
positionUInt64The position to be set for the file handle in the file. If a Read or Write is called it starts at that position. If the position is higher than the file size the position is set to the end of the file.

Applies to ​

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