TextViewLayoutChangedEventArgs.TranslatedSpans 属性

获取已转换跨度的集合。

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Public ReadOnly Property TranslatedSpans As NormalizedSnapshotSpanCollection
public NormalizedSnapshotSpanCollection TranslatedSpans { get; }
public:
property NormalizedSnapshotSpanCollection^ TranslatedSpans {
    NormalizedSnapshotSpanCollection^ get ();
}
member TranslatedSpans : NormalizedSnapshotSpanCollection with get
function get TranslatedSpans () : NormalizedSnapshotSpanCollection

属性值

类型:Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection
转换跨度的集合。

异常

异常 条件
ArgumentNullException

oldState 或 newState 或 translatedLines 或 newOrReformattedLines 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参阅

参考

TextViewLayoutChangedEventArgs 类

Microsoft.VisualStudio.Text.Editor 命名空间