VirtualSnapshotSpan.IsEmpty Property


Determines whether the start and end points are in the same place.

public bool IsEmpty { get; }
Property Value

true if the span is empty, otherwise false.


Because the start and end points can both be in virtual space, the non-virtual span that this corresponds to can be non-empty at the same time that this property returns true.

Applies to