When overridden in a derived class, gets or sets the position within the current stream.
Namespace: FirstFloor.Documents.IOAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
| C# |
|---|
public override long Position { get; set; } |
| Visual Basic |
|---|
Public Overrides Property Position As Long Get Set |
| Visual C++ |
|---|
public: virtual property long long Position { long long get () override; void set (long long value) override; } |
Field Value
Return Value
The current position within the stream.
Exceptions
| Exception | Condition |
|---|---|
| System.IO..::..IOException | An I/O error occurs. |
| System..::..NotSupportedException | The stream does not support seeking. |
| System..::..ObjectDisposedException | Methods were called after the stream was closed. |