共用方式為


IBufferGraph.MapUpToFirstMatch Method

Include Protected Members
Include Inherited Members

Maps a position in the current snapshot of some buffer that is a member of the buffer graph to a snapshot of some buffer that is selected by a predicate.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method MapUpToFirstMatch(SnapshotSpan, SpanTrackingMode, Predicate<ITextSnapshot>) Maps a span in the current snapshot of some buffer that is a member of the buffer graph up to a sequence of spans in a snapshot of some buffer that is selected by a predicate.
Public method MapUpToFirstMatch(SnapshotPoint, PointTrackingMode, Predicate<ITextSnapshot>, PositionAffinity) Maps a position in the current snapshot of some buffer that is a member of the buffer graph to a snapshot of some buffer that is selected by a predicate.

Top

See Also

Reference

IBufferGraph Interface

Microsoft.VisualStudio.Text.Projection Namespace