SourceText.GetLinesCore 方法

定义

Lines 中调用以初始化 TextLineCollection. 此后,将缓存集合。

protected:
 virtual Microsoft::CodeAnalysis::Text::TextLineCollection ^ GetLinesCore();
protected virtual Microsoft.CodeAnalysis.Text.TextLineCollection GetLinesCore ();
abstract member GetLinesCore : unit -> Microsoft.CodeAnalysis.Text.TextLineCollection
override this.GetLinesCore : unit -> Microsoft.CodeAnalysis.Text.TextLineCollection
Protected Overridable Function GetLinesCore () As TextLineCollection

返回

一个新 TextLineCollection 表示单个文本行。

适用于