NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SeekOrigin Enumeration

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.

Members

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.

Requirements

Namespace: System.IO

Assembly: mscorlib.dll

Example

The following call sets the position of the stream at the end:

Stream.Seek(0,SeekOrigin.End)

See Also

System.IO Namespace