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
topSpan
Typ: Microsoft.VisualStudio.Text.SnapshotSpanSnapshotSpan in TopBuffer zur Folge.
sourceTextSnapshot
Typ: Microsoft.VisualStudio.Text.ITextSnapshotITextSnapshotSourceBuffer , das topSpanentspricht.
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