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
声明
Public ReadOnly Property TranslatedSpans As NormalizedSnapshotSpanCollection
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.