Partilhar via


SourceReferenceResolver.OpenRead(String) Method

Definition

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.

Applies to