Discuss this help topic in SecureBlackbox Forum

TElMessagePart.SaveDataToFile

TElMessagePart     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Writes part contents to the file.

Declaration

[C#/Java]
    int SaveDataToFile(string wsFileName);

[VB.NET]
    Function SaveDataToFile(ByVal wsFileName As String) As Integer

[Pascal]
    function SaveDataToFile(const wsFileName: TString): ELMIMERESULT;

[C++]
    int32_t SaveDataToFile(const sb_u16string &wsFileName);
    int32_t SaveDataToFile(const std::wstring &wsFileName);

[PHP]
    integer SaveDataToFile(string $wsFileName)

Parameters

  • wsFileName - the name of the file to which the data will be written.

Return value

    Returns 0 (El_OK) on success;
    Error otherwise.

Description

    Use this method to save part contents to the file.

See also:     GetData     SaveDataToStream     SetData    

Discuss this help topic in SecureBlackbox Forum