共用方式為


ITextAndAdornmentSequencer Interface

Creates a sequence of text and adornment elements to compose an ITextSnapshotLine.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'宣告
Public Interface ITextAndAdornmentSequencer
public interface ITextAndAdornmentSequencer
public interface class ITextAndAdornmentSequencer
type ITextAndAdornmentSequencer =  interface end
public interface ITextAndAdornmentSequencer

The ITextAndAdornmentSequencer type exposes the following members.

Properties

  Name Description
Public property BufferGraph Gets the IBufferGraph used by the sequencer.
Public property SourceBuffer Gets the source buffer of the buffer graph.
Public property TopBuffer Gets the top ITextBuffer in the buffer graph.

Top

Methods

  Name Description
Public method CreateTextAndAdornmentCollection(ITextSnapshotLine, ITextSnapshot) Creates a sequence of text and adornment elements that compose the specified ITextSnapshotLine.
Public method CreateTextAndAdornmentCollection(SnapshotSpan, ITextSnapshot) Creates a sequence of text and adornment elements that compose the specified SnapshotSpan.

Top

Events

  Name Description
Public event SequenceChanged Occurs when there has been a change in the data used by the sequencer.

Top

See Also

Reference

Microsoft.VisualStudio.Text.Formatting Namespace