次の方法で共有


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

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

Property Value

Type: System.Boolean
true if the length of the span is zero, otherwise false.

.NET Framework Security

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace