次の方法で共有


VirtualSnapshotSpan.IsEmpty Property

Definition

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

public:
 property bool IsEmpty { bool get(); };
public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

Property Value

true if the span is empty, otherwise false.

Remarks

Because the start and end 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