EncoderStream.SetLength method
The SetLength method sets the length of the stream.
Namespace: Microsoft.Exchange.Data.Mime.Encoders
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Overrides NotOverridable Sub SetLength ( _
value As Long _
)
'Usage
Dim instance As EncoderStream
Dim value As Long
instance.SetLength(value)
public override sealed void SetLength(
long value
)
Parameters
value
Type: System.Int64A long integer representing the desired length of the stream.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The stream does not support both writing and seeking. |