SourceReferenceResolver.OpenRead(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.
Opens a Stream that allows reading the content of the specified file.
public:
abstract System::IO::Stream ^ OpenRead(System::String ^ resolvedPath);
public abstract System.IO.Stream OpenRead (string resolvedPath);
abstract member OpenRead : string -> System.IO.Stream
Public MustOverride Function OpenRead (resolvedPath As String) As Stream
Parameters
- resolvedPath
- String
Path returned by ResolveReference(String, String).
Returns
Exceptions
resolvedPath
is null.
resolvedPath
is not a valid absolute path.
Error reading file resolvedPath
. See InnerException for details.