MSBuildFileSystemBase.ReadFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use this for var sr = new StreamReader(path)
public:
abstract System::IO::TextReader ^ ReadFile(System::String ^ path);
public:
virtual System::IO::TextReader ^ ReadFile(System::String ^ path);
public abstract System.IO.TextReader ReadFile (string path);
public virtual System.IO.TextReader ReadFile (string path);
abstract member ReadFile : string -> System.IO.TextReader
abstract member ReadFile : string -> System.IO.TextReader
override this.ReadFile : string -> System.IO.TextReader
Public MustOverride Function ReadFile (path As String) As TextReader
Public Overridable Function ReadFile (path As String) As TextReader
Parameters
- path
- String