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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈