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.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET