FileTextLoader.CreateText(Stream, Workspace) 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.
Creates SourceText from Stream.
protected:
virtual Microsoft::CodeAnalysis::Text::SourceText ^ CreateText(System::IO::Stream ^ stream, Microsoft::CodeAnalysis::Workspace ^ workspace);
protected virtual Microsoft.CodeAnalysis.Text.SourceText CreateText (System.IO.Stream stream, Microsoft.CodeAnalysis.Workspace workspace);
protected virtual Microsoft.CodeAnalysis.Text.SourceText CreateText (System.IO.Stream stream, Microsoft.CodeAnalysis.Workspace? workspace);
abstract member CreateText : System.IO.Stream * Microsoft.CodeAnalysis.Workspace -> Microsoft.CodeAnalysis.Text.SourceText
override this.CreateText : System.IO.Stream * Microsoft.CodeAnalysis.Workspace -> Microsoft.CodeAnalysis.Text.SourceText
Protected Overridable Function CreateText (stream As Stream, workspace As Workspace) As SourceText
Parameters
- stream
- Stream
Stream.
- workspace
- Workspace
Obsolete. Null.
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.