LumiSoft Net Help
ToFile Method (file, headerWordEncoder, headerParmetersCharset)
Namespaces ► LumiSoft.Net.MIME ► MIME_Entity ► ToFile(String, MIME_Encoding_EncodedWord, Encoding)
Stores MIME entity to the specified file.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void ToFile(
    	string file,
    	MIME_Encoding_EncodedWord headerWordEncoder,
    	Encoding headerParmetersCharset
    )

    Public Sub ToFile (
    	file As String,
    	headerWordEncoder As MIME_Encoding_EncodedWord,
    	headerParmetersCharset As Encoding
    )

    public:
    void ToFile(
    	String^ file,
    	MIME_Encoding_EncodedWord^ headerWordEncoder,
    	Encoding^ headerParmetersCharset
    )

    member ToFile :
            file : string *
            headerWordEncoder : MIME_Encoding_EncodedWord *
            headerParmetersCharset : Encoding -> 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.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when file is null.
ArgumentException | Is raised when any of the arguments has invalid value.

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