Base64Encoder constructor (Int32)
The Base64Encoder constructor initializes a new instance of the Base64Encoder class with the LineLength property that is indicated by the lineLength parameter.
Namespace: Microsoft.Exchange.Data.Mime.Encoders
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Sub New ( _
lineLength As Integer _
)
'Usage
Dim lineLength As Integer
Dim instance As New Base64Encoder(lineLength)
public Base64Encoder(
int lineLength
)
Parameters
lineLength
Type: System.Int32A value of 76 enables lines that are 76 characters long to be terminated by using CRLF. A value of 0 disables soft wrapping.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The lineLength parameter was neither 0 nor 76. |
Remarks
The only values that are allowed for lineLength are 0 and 76.