ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Storage Namespace / NativeFileStream Class / Seek Method

In This Topic
    Seek Method (NativeFileStream)
    In This Topic
    When overridden in a derived class, 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
    public override System.long Seek( 
       System.long offset,
       System.IO.SeekOrigin origin
    )

    Parameters

    offset
    origin

    Return Value

    The new position within the current stream.
    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