Share via


FileTextLoader.CreateText(Stream, Workspace) Method

Definition

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