Freigeben über


TextViewLayoutChangedEventArgs.TranslatedSpans Property

Gets a collection of translated spans.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Public ReadOnly Property TranslatedSpans As NormalizedSnapshotSpanCollection
    Get
public NormalizedSnapshotSpanCollection TranslatedSpans { get; }
public:
property NormalizedSnapshotSpanCollection^ TranslatedSpans {
    NormalizedSnapshotSpanCollection^ get ();
}
member TranslatedSpans : NormalizedSnapshotSpanCollection
function get TranslatedSpans () : NormalizedSnapshotSpanCollection

Property Value

Type: Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection
A collection of translated spans.

Exceptions

Exception Condition
ArgumentNullException

oldState or newState or translatedLines or newOrReformattedLines is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

TextViewLayoutChangedEventArgs Class

Microsoft.VisualStudio.Text.Editor Namespace