Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Core Namespace / ChunkedMemoryStream Class / Seek Method
A byte offset relative to the origin parameter.
A value of type System.IO.SeekOrigin indicating the reference point used to obtain the new position.


In This Topic
    Seek Method
    In This Topic
    When overridden in a derived class, sets the position within the current stream.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function Seek( _
       ByVal offset As Long, _
       ByVal origin As SeekOrigin _
    ) As Long
    'Usage
     
    
    Dim instance As ChunkedMemoryStream
    Dim offset As Long
    Dim origin As SeekOrigin
    Dim value As Long
     
    value = instance.Seek(offset, origin)
    public override long Seek( 
       long offset,
       SeekOrigin origin
    )

    Parameters

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

    Return Value

    The new position within the current stream.
    See Also