.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Email Class Summary

Email::GetFileContent

Reads a file and returns the contents as a String. This is here purely for convenience.

  Declarations  
    [Visual Basic]
Public Function GetFileContent(ByVal Integer filename) As String

[C#]
public string GetFileContent(int filename);

[C++]
public String *GetFileContent(int filename);

[JScript]
public function GetFileContent(int filename) : String
 
  Parameters  
   
filename
Name of the file to read.
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.