NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

File.OpenText

Creates a StreamReader that reads from an existing text file.

Overload List

Creates a StreamReader that reads from an existing text file.

[Visual Basic] Overloads Public Function OpenText() As StreamReader
[C#] public StreamReader OpenText();
[C++] public: StreamReader* OpenText();
[JScript] public function OpenText() : StreamReader;

Creates a StreamReader that reads from an existing text file having the specified path.

[Visual Basic] Overloads Public Shared Function OpenText(String) As StreamReader
[C#] public static StreamReader OpenText(String);
[C++] public: static StreamReader* OpenText(String*);
[JScript] public static function OpenText(String) : StreamReader;

See Also

File Class | File Members | System.IO Namespace