Skip to main content
 Collapse AllExpand All      Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: F# Code: JScript 
SeekOrigin Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies the position in a stream to use for seeking.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)
<SerializableAttribute> _
Public Enumeration SeekOrigin
[SerializableAttribute]
public enum SeekOrigin
[SerializableAttribute]
public enum class SeekOrigin
[<SerializableAttribute>]
type SeekOrigin
public enum SeekOrigin
Member nameDescription
BeginSpecifies the beginning of a stream.
CurrentSpecifies the current position within a stream.
EndSpecifies the end of a stream.