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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.