Name

SeekOrigin

Synopsis

This enumeration is used by the Stream.Seek( ) method. You can specify that you want to seek either from the beginning with Begin, from the current position with Current, or end with End.

public enum SeekOrigin {
   Begin = 0,
   Current = 1,
   End = 2
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) SeekOrigin

Passed To

BinaryWriter.Seek( ), Stream.Seek( )

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.