SourceReferenceResolver.ReadText(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.
Reads the contents of resolvedPath
and returns a SourceText.
public:
virtual Microsoft::CodeAnalysis::Text::SourceText ^ ReadText(System::String ^ resolvedPath);
public virtual Microsoft.CodeAnalysis.Text.SourceText ReadText (string resolvedPath);
abstract member ReadText : string -> Microsoft.CodeAnalysis.Text.SourceText
override this.ReadText : string -> Microsoft.CodeAnalysis.Text.SourceText
Public Overridable Function ReadText (resolvedPath As String) As SourceText
Parameters
- resolvedPath
- String
Path returned by ResolveReference(String, String).
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.