IStream.Seek Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Changes the seek pointer to a new location relative to the beginning of the stream, to the end of the stream, or to the current seek pointer.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Sub Seek ( _ dlibMove As Long, _ dwOrigin As Integer, _ plibNewPosition As IntPtr _ )
Parameters
- dlibMove
- Type: System.Int64
The displacement to add to dwOrigin.
- dwOrigin
- Type: System.Int32
The origin of the seek. The origin can be the beginning of the file, the current seek pointer, or the end of the file.
- plibNewPosition
- Type: System.IntPtr
On successful return, contains the offset of the seek pointer from the beginning of the stream.
Show: