SnapshotPoint.Addition(SnapshotPoint, Int32) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Increments the position of a snapshot point.
public:
static Microsoft::VisualStudio::Text::SnapshotPoint operator +(Microsoft::VisualStudio::Text::SnapshotPoint point, int offset);
public static Microsoft.VisualStudio.Text.SnapshotPoint operator + (Microsoft.VisualStudio.Text.SnapshotPoint point, int offset);
static member ( + ) : Microsoft.VisualStudio.Text.SnapshotPoint * int -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Shared Operator + (point As SnapshotPoint, offset As Integer) As SnapshotPoint
Parameters
- point
- SnapshotPoint
The point from which to calculate the new position.
- offset
- Int32
The offset of the new point.
Returns
The incremented snapshot point.
Exceptions
The new point is less than zero or greater than Snapshot.Length.
Remarks
The SnapshotPoint.