DotNetCompression Class Reference for Windows Phone
Seek Method (CompressionStream)






A byte offset relative to the origin parameter.
A value of type SeekOrigin indicating the reference point used to obtain the new position.
Sets the position within the current stream.
Syntax
'Declaration
 
Public Overrides Function Seek( _
   ByVal offset As System.Long, _
   ByVal origin As System.IO.SeekOrigin _
) As System.Long
'Usage
 
Dim instance As CompressionStream
Dim offset As System.Long
Dim origin As System.IO.SeekOrigin
Dim value As System.Long
 
value = instance.Seek(offset, origin)
public override System.long Seek( 
   System.long offset,
   System.IO.SeekOrigin origin
)
public function Seek( 
    offset: System.Int64;
    origin: System.IO.SeekOrigin
): System.Int64; override; 
public override function Seek( 
   offset : System.long,
   origin : System.IO.SeekOrigin
) : System.long;
public: System.long Seek( 
   System.long offset,
   System.IO.SeekOrigin origin
) override 
public:
System.int64 Seek( 
   System.int64 offset,
   System.IO.SeekOrigin origin
) override 

Parameters

offset
A byte offset relative to the origin parameter.
origin
A value of type SeekOrigin indicating the reference point used to obtain the new position.

Return Value

The new position within the current stream.
Requirements

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

See Also

Reference

CompressionStream Class
CompressionStream Members
Base Implementation in Seek

Send Feedback