次の方法で共有


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

'宣言
Public ReadOnly Property Length As Integer
    Get
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