FileTextLoader.CreateText(Stream, Workspace) 方法

定义

SourceTextStream创建 。

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

参数

stream
Stream

流。

workspace
Workspace

已过时。 NULL。

返回

适用于