IProjectionSnapshot::MapToSourceSnapshot Method (Int32)
Visual Studio 2015
Maps a position in the projection snapshot to the corresponding position in a source snapshot.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- position
-
Type:
System::Int32
The position in the projection snapshot.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | position is less than zero or greater than or equal to the length of the snapshot. |
If the mapping is ambiguous (occurs on a source span seam), see GetTypicalInsertionPosition to choose a source buffer.
Show: