ITextAndAdornmentSequencer.CreateTextAndAdornmentCollection Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| CreateTextAndAdornmentCollection(ITextSnapshotLine, ITextSnapshot) |
Erstellt eine Sequenz von Text- und Zusatzelementen, aus denen sich die angegebene ITextSnapshotLine zusammensetzt. |
| CreateTextAndAdornmentCollection(SnapshotSpan, ITextSnapshot) |
Erstellt eine Sequenz von Text- und Zusatzelementen, aus denen sich die angegebene SnapshotSpan zusammensetzt. |
CreateTextAndAdornmentCollection(ITextSnapshotLine, ITextSnapshot)
Erstellt eine Sequenz von Text- und Zusatzelementen, aus denen sich die angegebene ITextSnapshotLine zusammensetzt.
public:
Microsoft::VisualStudio::Text::Formatting::ITextAndAdornmentCollection ^ CreateTextAndAdornmentCollection(Microsoft::VisualStudio::Text::ITextSnapshotLine ^ topLine, Microsoft::VisualStudio::Text::ITextSnapshot ^ sourceTextSnapshot);
public Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection CreateTextAndAdornmentCollection (Microsoft.VisualStudio.Text.ITextSnapshotLine topLine, Microsoft.VisualStudio.Text.ITextSnapshot sourceTextSnapshot);
abstract member CreateTextAndAdornmentCollection : Microsoft.VisualStudio.Text.ITextSnapshotLine * Microsoft.VisualStudio.Text.ITextSnapshot -> Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection
Public Function CreateTextAndAdornmentCollection (topLine As ITextSnapshotLine, sourceTextSnapshot As ITextSnapshot) As ITextAndAdornmentCollection
Parameter
- topLine
- ITextSnapshotLine
Die ITextSnapshotLine im TopBuffer, die sequenziert werden soll.
- sourceTextSnapshot
- ITextSnapshot
Der ITextSnapshot der, die der SourceBuffer Topline entspricht.
Gibt zurück
Eine normalisierte Auflistung von ISequenceElement-Objekten, die die Text- und Zusatzelemente enthalten.
Gilt für
CreateTextAndAdornmentCollection(SnapshotSpan, ITextSnapshot)
Erstellt eine Sequenz von Text- und Zusatzelementen, aus denen sich die angegebene SnapshotSpan zusammensetzt.
public:
Microsoft::VisualStudio::Text::Formatting::ITextAndAdornmentCollection ^ CreateTextAndAdornmentCollection(Microsoft::VisualStudio::Text::SnapshotSpan topSpan, Microsoft::VisualStudio::Text::ITextSnapshot ^ sourceTextSnapshot);
public Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection CreateTextAndAdornmentCollection (Microsoft.VisualStudio.Text.SnapshotSpan topSpan, Microsoft.VisualStudio.Text.ITextSnapshot sourceTextSnapshot);
abstract member CreateTextAndAdornmentCollection : Microsoft.VisualStudio.Text.SnapshotSpan * Microsoft.VisualStudio.Text.ITextSnapshot -> Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection
Public Function CreateTextAndAdornmentCollection (topSpan As SnapshotSpan, sourceTextSnapshot As ITextSnapshot) As ITextAndAdornmentCollection
Parameter
- topSpan
- SnapshotSpan
Die SnapshotSpan im TopBuffer, die sequenziert werden soll.
- sourceTextSnapshot
- ITextSnapshot
Der ITextSnapshot der, die dem SourceBuffer topspan entspricht.
Gibt zurück
Eine normalisierte Auflistung von ISequenceElement-Objekten, die die Text- und Zusatzelemente enthalten.