LumiSoft Net Help
DataToFile Method (fileName)
Namespaces ► LumiSoft.Net.MIME ► MIME_Entity ► DataToFile(String)
Stores body decoded-data to the specified file. Note: This method is available for single part entities only.
Declaration Syntax

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

    public void DataToFile(
    	string fileName
    )

    Public Sub DataToFile (
    	fileName As String
    )

    public:
    void DataToFile(
    	String^ fileName
    )

    member DataToFile :
            fileName : string -> unit

Parameters

fileName (String)
  File name with path, where to store body data.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when fileName is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.
InvalidOperationException | Is raised when this method is called for multipart entity.

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