FileSetPointer Method (SystemFunctions)

Action

Sets the position pointer within the file for read and write operations.

Syntax

C#

nPosition = FileSetPointer (hFile, nNewValue [, SetMode]);

VB

nPosition = FileSetPointer (hFile, nNewValue [, SetMode])
Variable Description
nPosition Number of characters to the current position of the pointer in the file. Integer.
hFile The handle of the file. FileHandle.
nNewValue Value that specifies new position, subject to value of SetMode. Integer.
SetMode The mode to use. FilePointerMode.