使用英语阅读

通过


ITextAndAdornmentSequencer.CreateTextAndAdornmentCollection Method (SnapshotSpan, ITextSnapshot)

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

声明
Function CreateTextAndAdornmentCollection ( _
    topSpan As SnapshotSpan, _
    sourceTextSnapshot As ITextSnapshot _
) As ITextAndAdornmentCollection

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.ITextAndAdornmentCollection
A normalized collection of ISequenceElement objects that contain the text and adornment elements.

.NET Framework Security

See Also

Reference

ITextAndAdornmentSequencer Interface

CreateTextAndAdornmentCollection Overload

Microsoft.VisualStudio.Text.Formatting Namespace