Sets the position on the current
UniBlob stream.
Parameters
- offset
- A byte offset relative to origin.
- origin
- A value of System.IO.SeekOrigin type indicating the reference point used to obtain the new position.
Return Value
The new position within the current stream.
The first line of the example sets stream position to the very first element.
myBlob.Seek(0, SeekOrigin.Begin);
Console.WriteLine(myBlob.Position);
Console.WriteLine(myBlob.ReadByte());
myBlob.Seek(0, SeekOrigin.Begin)
Console.WriteLine(myBlob.Position)
Console.WriteLine(myBlob.ReadByte())
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2