SeekOrigin Enumeration
.NET Framework (current version)
Specifies the position in a stream to use for seeking.
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| Begin | Specifies the beginning of a stream. | |
| Current | Specifies the current position within a stream. | |
| End | Specifies the end of a stream. |
SeekOrigin is used by the Seek methods of Stream, BufferedStream, FileStream, MemoryStream, BinaryWriter, and other classes. The Seek methods take an offset parameter that is relative to the position specified by SeekOrigin.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: