LumiSoft Net Help
ToFile Method (file, headerWordEncoder, headerParmetersCharset, headerReencode)
NamespacesLumiSoft.Net.MIMEMIME_EntityToFile(String, MIME_Encoding_EncodedWord, Encoding, Boolean)
Stores MIME entity to the specified file.
Declaration Syntax
C#Visual BasicVisual C++F#
public void ToFile(
	string file,
	MIME_Encoding_EncodedWord headerWordEncoder,
	Encoding headerParmetersCharset,
	bool headerReencode
)
Public Sub ToFile ( 
	file As String,
	headerWordEncoder As MIME_Encoding_EncodedWord,
	headerParmetersCharset As Encoding,
	headerReencode As Boolean
)
public:
void ToFile(
	String^ file, 
	MIME_Encoding_EncodedWord^ headerWordEncoder, 
	Encoding^ headerParmetersCharset, 
	bool headerReencode
)
member ToFile : 
        file : string * 
        headerWordEncoder : MIME_Encoding_EncodedWord * 
        headerParmetersCharset : Encoding * 
        headerReencode : bool -> unit 
Parameters
file (String)
File name with path where to store MIME entity.
headerWordEncoder (MIME_Encoding_EncodedWord)
Header 8-bit words ecnoder. Value null means that words are not encoded.
headerParmetersCharset (Encoding)
Charset to use to encode 8-bit header parameters. Value null means parameters not encoded.
headerReencode (Boolean)
If true always specified encoding is used for header. If false and header field value not modified, original encoding is kept.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when file is null.
ArgumentExceptionIs raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119