Click or drag to resize

MARC21Peek Method

Returns the current file position of the StreamReader.

Namespace:  MARCEngine7
Assembly:  MARCEngine7 (in MARCEngine7.dll) Version: 1.0.22.0 (1.0.22)
Syntax
C#
public int Peek(
	Object StreamObject
)

Parameters

StreamObject
Type: SystemObject
StreamReader object

Return Value

Type: Int32
-1 -- End of file; 0> = file position; -2 -- Error.

Implements

MARC21_InterfacePeek(Object)
Remarks
Returns the current file position. -1 is the end of the file, 0 and greater is the file position, and -2 indicates and error occurred.
See Also