共用方式為


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。

傳回

適用於