Provides the fields that represent seek reference points.
[Visual Basic] Public Enum SeekOrigin [C#] public enum SeekOrigin [C++] public enum SeekOrigin
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Member Name | Description |
---|---|
Begin | Provides the seek reference position that refers to the beginning of a stream. |
Current | Provides the seek reference position that refers to the current position within a stream. |
End | Provides the seek reference position that refers to the end of a stream. |
Namespace: System.IO
Assembly: mscorlib.dll
The following call sets the position of the stream at the end:
Stream.Seek(0,SeekOrigin.End)