Freigeben über


ITextAndAdornmentSequencer.CreateTextAndAdornmentCollection-Methode (SnapshotSpan, ITextSnapshot)

Erstellt eine Sequenz von Text- und Zusatzelementen, aus denen sich die angegebene SnapshotSpan zusammensetzt.

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

Syntax

'Declaration
Function CreateTextAndAdornmentCollection ( _
    topSpan As SnapshotSpan, _
    sourceTextSnapshot As ITextSnapshot _
) As ITextAndAdornmentCollection
ITextAndAdornmentCollection CreateTextAndAdornmentCollection(
    SnapshotSpan topSpan,
    ITextSnapshot sourceTextSnapshot
)
ITextAndAdornmentCollection^ CreateTextAndAdornmentCollection(
    SnapshotSpan topSpan, 
    ITextSnapshot^ sourceTextSnapshot
)
abstract CreateTextAndAdornmentCollection : 
        topSpan:SnapshotSpan * 
        sourceTextSnapshot:ITextSnapshot -> ITextAndAdornmentCollection
function CreateTextAndAdornmentCollection(
    topSpan : SnapshotSpan, 
    sourceTextSnapshot : ITextSnapshot
) : ITextAndAdornmentCollection

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection
Eine normalisierte Auflistung von ISequenceElement-Objekten, die die Text- und Zusatzelemente enthalten.

.NET Framework-Sicherheit

Siehe auch

Referenz

ITextAndAdornmentSequencer Schnittstelle

CreateTextAndAdornmentCollection-Überladung

Microsoft.VisualStudio.Text.Formatting-Namespace