System.IO.SeekOrigin Enum

public enum SeekOrigin

Base Types

Object
  ValueType
    Enum
      SeekOrigin

Assembly

mscorlib

Library

BCL

Summary

Defines the seek reference positions.

Description

The SeekOrigin enumeration is used by the overrides of the System.IO.Stream.Seek(System.Int64,System.IO.SeekOrigin) method to set the seek reference point in a stream, which allows you to specify an offset from the reference point.

See Also

System.IO Namespace

Members

SeekOrigin Fields

SeekOrigin.Begin Field
SeekOrigin.Current Field
SeekOrigin.End Field
SeekOrigin.value__ Field


SeekOrigin.Begin Field

Begin = 0;

Summary

Indicates that the seek reference point is the beginning of a stream.

See Also

System.IO.SeekOrigin Enum, System.IO Namespace

SeekOrigin.Current Field

Current = 1;

Summary

Indicates that the seek reference point is the current position within a stream.

See Also

System.IO.SeekOrigin Enum, System.IO Namespace

SeekOrigin.End Field

End = 2;

Summary

Indicates that the seek reference point is the first byte beyond the end of a stream.

See Also

System.IO.SeekOrigin Enum, System.IO Namespace

SeekOrigin.value__ Field

value__;

See Also

System.IO.SeekOrigin Enum, System.IO Namespace