Click or drag to resize
MARC21Peek Method
Returns the current file position of the StreamReader.

Namespace: MARCEngine5
Assembly: MARCEngine (in MARCEngine.dll) Version: 2.2.8.0 (2.2.8)
Syntax
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