Click or drag to resize

XsBufferedFileStream.Position Property

X#
Gets or sets the current position of this stream.

Namespace:  XSharp.IO
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY Position AS INT64 GET SET 
Request Example View Source

Return Value

Type: Int64
The current position of this stream.
Exceptions
ExceptionCondition
NotSupportedExceptionThe stream does not support seeking.
IOExceptionAn I/O error occurred. -or- The position was set to a very large value beyond the end of the stream in Windows 98 or earlier.
ArgumentOutOfRangeExceptionAttempted to set the position to a negative value.
EndOfStreamExceptionAttempted seeking past the end of a stream that does not support this.
See Also