XsBufferedFileStream.Position Property
|
|
Gets or sets the current position of this stream.
Namespace:
XSharp.IO
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.24 GA
Syntax VIRTUAL PROPERTY Position AS INT64 GET SET
public override long Position { get; set; } Request Example
View SourceReturn Value
Type:
Int64The current position of this stream.
Exceptions| Exception | Condition |
|---|
| NotSupportedException | The stream does not support seeking. |
| IOException | An 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. |
| ArgumentOutOfRangeException | Attempted to set the position to a negative value. |
| EndOfStreamException | Attempted seeking past the end of a stream that does not support this. |
See Also