Поделиться через


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.

Возвращаемое значение

Применяется к