Share via


TextLoader 類別

定義

類別,表示從儲存位置存取來源文字及其版本。

public ref class TextLoader abstract
public abstract class TextLoader
type TextLoader = class
Public MustInherit Class TextLoader
繼承
TextLoader
衍生

建構函式

TextLoader()

類別,表示從儲存位置存取來源文字及其版本。

方法

From(SourceTextContainer, VersionStamp, String)

TextLoader從 和 版本建立 SourceTextContainer

從載入器取得的文字將會是存取載入器時容器的目前文字。

From(TextAndVersion)

從現有的來源文字和版本建立新的 TextLoader

LoadTextAndVersionAsync(LoadTextOptions, CancellationToken)

載入文字和檔的版本。

LoadTextAndVersionAsync(Workspace, DocumentId, CancellationToken)
已淘汰.

載入文字和檔的版本。

適用於