MSI Factory 2.3

TextFile.ReadToString

TextFile.ReadToString

Previous topic Next topic  

TextFile.ReadToString

Previous topic Next topic  

OverviewExamples

string TextFile.ReadToString (

string Filename )

Description

Reads the contents of a text file and returns it as a string.

Parameters

Filename

(string) The full path to the text file.

Returns

(string) A string containing the contents of the text file. If an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us