adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / BlowfishStream Class / Seek Method
A byte offset relative to the origin parameter.The offset from the origin to seek.
A value of type System.IO.SeekOrigin indicating the reference point used to obtain the new position.The origin to seek from.

In This Topic
    Seek Method
    In This Topic
    When overridden in a derived class, sets the position within the current stream. Move the current stream posistion to the specified location.
    Syntax
    'Declaration
     
    
    Public Overrides Function Seek( _
       ByVal offset As Long, _
       ByVal origin As SeekOrigin _
    ) As Long
    public override long Seek( 
       long offset,
       SeekOrigin origin
    )

    Parameters

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

    Return Value

    The new position within the current stream.The new position.
    Exceptions
    ExceptionDescription
    An I/O error occurs.
    The stream does not support seeking, such as if the stream is constructed from a pipe or console output.
    Methods were called after the stream was closed.
    See Also