Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a sequence of text and adornment elements that compose the specified SnapshotSpan.
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
Parameters
topSpan
Type: Microsoft.VisualStudio.Text.SnapshotSpanThe SnapshotSpan in the TopBuffer to sequence.
sourceTextSnapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshotThe ITextSnapshot of the SourceBuffer that corresponds to topSpan.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection
A normalized collection of ISequenceElement objects that contain the text and adornment elements.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITextAndAdornmentSequencer Interface