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
topLine
Typ: Microsoft.VisualStudio.Text.ITextSnapshotLineDie ITextSnapshotLine, die sequenziert werden soll.
sourceTextSnapshot
Typ: Microsoft.VisualStudio.Text.ITextSnapshotITextSnapshotTopBuffer , das topLineentspricht.
Rückgabewert
Typ: Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection
Eine normalisierte Auflistung von ISequenceElement-Objekten, die die Text- und Zusatzelemente enthalten.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
ITextAndAdornmentSequencer Schnittstelle