This topic has not yet been rated - Rate this topic

SeekOrigin Enumeration

April 12, 2014

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

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)
public enum SeekOrigin
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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.