Partager via


IProjectionSnapshot.SpanCount Property

Gets the number of source spans in the projection snapshot.

Namespace:  Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
ReadOnly Property SpanCount As Integer
int SpanCount { get; }
property int SpanCount {
    int get ();
}
abstract SpanCount : int with get
function get SpanCount () : int

Property Value

Type: Int32
The number of source spans in the projection snapshot.

.NET Framework Security

See Also

Reference

IProjectionSnapshot Interface

Microsoft.VisualStudio.Text.Projection Namespace