Freigeben über


ITextAndAdornmentSequencer.CreateTextAndAdornmentCollection-Methode (ITextSnapshotLine, ITextSnapshot)

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

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

Syntax

'Declaration
Function CreateTextAndAdornmentCollection ( _
    topLine As ITextSnapshotLine, _
    sourceTextSnapshot As ITextSnapshot _
) As ITextAndAdornmentCollection
ITextAndAdornmentCollection CreateTextAndAdornmentCollection(
    ITextSnapshotLine topLine,
    ITextSnapshot sourceTextSnapshot
)
ITextAndAdornmentCollection^ CreateTextAndAdornmentCollection(
    ITextSnapshotLine^ topLine, 
    ITextSnapshot^ sourceTextSnapshot
)
abstract CreateTextAndAdornmentCollection : 
        topLine:ITextSnapshotLine * 
        sourceTextSnapshot:ITextSnapshot -> ITextAndAdornmentCollection
function CreateTextAndAdornmentCollection(
    topLine : ITextSnapshotLine, 
    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