VirtualSnapshotSpan Struct
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.
Represents two VirtualSnapshotPoints
public value class VirtualSnapshotSpan
struct VirtualSnapshotSpan
public struct VirtualSnapshotSpan
type VirtualSnapshotSpan = struct
Public Structure VirtualSnapshotSpan
- Inheritance
-
VirtualSnapshotSpan
Virtual spaces are "extra" spaces at the end of a line that do not add to the length of the line. You can enable or disable virtual spaces in Visual Studio. When virtual spaces are disabled, pressing on the right arrow key at the end of a line causes the caret to move to the beginning of the next line. When virtual spaces are enabled, pressing on the right arrow key at the end of a line causes the caret to move forward on the same line.
Virtual |
Initializes a new instance of a VirtualSnapshotSpan at |
Virtual |
Initializes a new instance of a VirtualSnapshotSpan from the given VirtualSnapshotPoints. |
End |
Gets the ending virtual point. |
Is |
Determines whether the start and end points are in the same place. |
Is |
Determines whether the start or end points are in virtual space. |
Length |
The length of this span, taking into account virtual space. |
Snapshot |
The ITextSnapshot to which this snapshot span refers. |
Snapshot |
Gets the non-virtual SnapshotSpan that this corresponds to. |
Start |
Gets the starting virtual point. |
Contains(Virtual |
Determines whether or not the given virtual point is contained within this virtual span. |
Contains(Virtual |
Determines whether |
Equals(Object) |
Determines whether two VirtualSnapshotSpan objects are the same. |
Get |
Gets the hash code for the object. |
Get |
The text contained by this virtual snapshot span. |
Intersection(Virtual |
Returns the intersection with the given virtual span, or null if there is no intersection. |
Intersects |
Determines whether |
Overlap(Virtual |
Returns the overlap with the given virtual span, or null if there is no overlap. |
Overlaps |
Determines whether |
To |
Converts the object to a string. |
Translate |
Translates this span to the |
Translate |
Translates this span to the |
Equality(Virtual |
Determines whether two VirtualSnapshotSpan objects are the same. |
Inequality(Virtual |
Determines whether two VirtualSnapshotSpan objects are different. |