次の方法で共有


IProjectionSnapshot.MapToSourceSnapshots Method

Include Protected Members
Include Inherited Members

Maps a span of the current projection snapshot to a list of snapshot spans belonging to source snapshots.

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 MapToSourceSnapshots(Int32) Maps a position in the projection snapshot to the corresponding position in one or more source snapshots.
Public method MapToSourceSnapshots(Span) Maps a span of the current projection snapshot to a list of snapshot spans belonging to source snapshots. The resulting spans will be ordered by the order of their appearance in the projection.

Top

See Also

Reference

IProjectionSnapshot Interface

Microsoft.VisualStudio.Text.Projection Namespace