Version

Search Results

Position Property

Returns the normalized zero-based end offset from the beginning of the TextDocumentSnapshot (read-only). Syntax

Snapshot Property (SnapshotPoint)

Returns the associated TextDocumentSnapshot (read-only). Syntax

Subtract Method

Returns a new SnapshotPoint with its position decremented by an offset. Syntax Parameters offset The amount to subtract from the position Return Value A new SnapshotPoint with its position decremented by the offset.

ToString Method (SnapshotPoint)

Returns the string representation of this object. Syntax

TranslateTo Method (SnapshotPoint)

Translates the point from one snapshot to another. Syntax Parameters target The target snapshot.mode The tracking mode to use. Return Value A new SnapshotPoint with the adjusted position for the target snapshot. Exceptions Exception Description System.ArgumentNullException If the target snapshot is null and the cu...

SnapshotPoint Constructor

Instantiates a new SnapshotPoint Syntax Parameters snapshot The associated TextDocumentSnapshotposition The position within the snapshot

SnapshotSpan Structure

Represents the span of text within a specific TextDocumentSnapshot based on an offset and length Syntax

SnapshotSpan Structure Members

Public Constructors Public Properties Public Methods Public Operators