다음을 통해 공유


VirtualSnapshotSpan.IsEmpty Property

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

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Public ReadOnly Property IsEmpty As Boolean
public bool IsEmpty { get; }
public:
property bool IsEmpty {
    bool get ();
}
member IsEmpty : bool with get
function get IsEmpty () : boolean

Property Value

Type: Boolean
true if the span is empty, otherwise false.

Remarks

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.

.NET Framework Security

See Also

Reference

VirtualSnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace