Reads the stream from the current position to the end of the stream.
Namespace:
Aras.Client.Controls.Public
Syntaxfunction readText(fname, encoding);
Parameters
- fname
- Type: string
- encoding
- Type: string
Parameter for System.Text.Encoding.GetEncoding method. "UTF-8" is default.
Return Value
Type:
[T:(Any)]
string. The rest of the stream as a string, from the current position to the end.
If the current position is at the end of the stream, returns the empty string("").
See Also