XsBufferedFileStream.Position 属性 | |
Gets or sets the current position of this stream.
命名空间:
XSharp.IO
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 VIRTUAL PROPERTY Position AS INT64 GET SET
public override long Position { get; set; }
查看代码返回值
类型:
Int64The current position of this stream.
异常 异常 | 条件 |
---|
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. |
参见