public LoadIncludeText ( string requestFileName, string &content, string &location ) : bool | ||
requestFileName | string | |
content | string | |
location | string | |
return | bool |
public bool LoadIncludeText(string requestFileName, out string content, out string location) {
content = String.Empty;
location = String.Empty;
// If the argument is the fully qualified path of an existing file, then we are done.
if (File.Exists(requestFileName)) {
content = File.ReadAllText(requestFileName);
return true;
}
return false;
}