ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 Long _
    ) 
    public override void SetLength( 
       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