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)

public:
property int Length {
	int get();
}

Property Value

Type: System::Int32

The length of the span.

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.

Return to top
Show: