Freigeben über


SnapshotSpan.IsEmpty Property

Determines whether or not this span is empty.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.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 length of the span is zero, otherwise false.

.NET Framework Security

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace