| CharsetFilter(String, String) Constructor |
Namespace: MimeKit.IO.FiltersAssembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax public CharsetFilter(
string sourceEncodingName,
string targetEncodingName
)
Parameters
- sourceEncodingName String
- Source encoding name.
- targetEncodingName String
- Target encoding name.
Exceptions Exception | Condition |
---|
ArgumentNullException | sourceEncodingName is null. -or- targetEncodingName is null. |
NotSupportedException | The sourceEncodingName is not supported by the system. -or- The targetEncodingName is not supported by the system. |
Remarks
Creates a new
CharsetFilter to convert text from the specified
source encoding into the target charset encoding.
See Also