SeekOrigin Enumeration

SeekOrigin Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Provides the fields that represent reference points in streams for seeking.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

No code example is currently available or this language may not be supported.

Member nameDescription
BeginSpecifies the beginning of a stream.
CurrentSpecifies the current position within a stream.
EndSpecifies the end of a stream.

SeekOrigin is used by the Seek methods of Stream, FileStream, MemoryStream, BinaryWriter, and other classes. The Seek methods take an offset parameter that is relative to the position specified by SeekOrigin.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft