Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • When overridden in a derived class, sets the position within the current stream.

API: engine
Project: Inno.Core.IO

public override long Inno.Core.IO.OwnedReadStream.Seek(long offset, System.IO.SeekOrigin origin)

Parameter offset: A byte offset relative to the origin parameter.

Parameter origin: A value of type T:System.IO.SeekOrigin indicating the reference point used to obtain the new position.

Exception T:System.IO.IOException: An I/O error occurs.

Exception T:System.NotSupportedException: The stream does not support seeking, such as if the stream is constructed from a pipe or console output.

Exception T:System.ObjectDisposedException: Methods were called after the stream was closed.

The new position within the current stream.