VirtualSnapshotSpan.Length Property

The length of this span, taking into account virtual space.

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

Syntax

'Declaration
Public ReadOnly Property Length As Integer
public int Length { get; }
public:
property int Length {
    int get ();
}
member Length : int
function get Length () : int

Property Value

Type: System.Int32
The length of the span.

Remarks

If neither endpoint is in virtual space, or if only the start point is in virtual space, this is equivalent to SnapshotSpan.Length. Otherwise, it includes virtual space.

.NET Framework Security

See Also

Reference

VirtualSnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace