共用方式為


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
已轉換的 span 的集合。

例外狀況

例外狀況 條件
ArgumentNullException

oldState、newState、translatedLines 或 newOrReformattedLines 為 nullnull 參考 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

TextViewLayoutChangedEventArgs 類別

Microsoft.VisualStudio.Text.Editor 命名空間