Sets the length of the current stream. This method is not supported and always throws a NotSupportedException.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public override void SetLength( long value )
Public Overrides Sub SetLength ( value As Long )
public: virtual void SetLength( long long value ) override
abstract SetLength : value : int64 -> unit override SetLength : value : int64 -> unit
Parameters
- value (Int64)
- The desired length of the current stream in bytes.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
Seek(Int64, SeekOrigin) | Is raised when this method is accessed. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119