Sets the length of the stream.
Namespace: Alachisoft.NCache.Web.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
C# |
---|
public override void SetLength( long value ) |
Visual Basic |
---|
Public Overrides Sub SetLength ( _ value As Long _ ) |
Visual C++ |
---|
public: virtual void SetLength( long long value ) override |
Parameters
- value
- Type: System..::..Int64
The desired length of the current stream in bytes.
Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | Stream does not support both writing and seeking |