Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Core Namespace / ChunkedMemoryStream Class / SetLength Method
The desired length of the current stream in bytes.


In This Topic
    SetLength Method
    In This Topic
    When overridden in a derived class, sets the length of the current stream.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Sub SetLength( _
       ByVal value As Long _
    ) 
    'Usage
     
    
    Dim instance As ChunkedMemoryStream
    Dim value As Long
     
    instance.SetLength(value)
    public override void SetLength( 
       long value
    )

    Parameters

    value
    The desired length of the current stream in bytes.
    Exceptions
    ExceptionDescription
    The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output.
    See Also