Functions.FileToStr Method (String)
Returns the contents of a file as a character string.
XSharp.VFP (in XSharp.VFP.dll) Version: 2.18
Syntax Request Example
cFileName AS STRING
) AS STRING
public static string FileToStr(
- Type: String
Specifies the name of the file whose contents are returned as a character string.
If the file is in a directory other than the current default directory, include a path with the file name.
Note that the size of the character string FileToStr( ) returns can be very large.