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

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

    Parameters

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