SnapshotPoint.Add(Int32) Method
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.
Creates a new snapshot point at the specified offset from this point.
public:
Microsoft::VisualStudio::Text::SnapshotPoint Add(int offset);
public Microsoft.VisualStudio.Text.SnapshotPoint Add (int offset);
member this.Add : int -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Function Add (offset As Integer) As SnapshotPoint
Parameters
- offset
- Int32
The offset of the new point.
Returns
The new snapshot point.
Exceptions
The new point is less than zero or greater than Snapshot.Length.
Remarks
The SnapshotPoint.