Span.Length Property

Gets the length of the span, which is always non-negative.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.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, which is always non-negative.

.NET Framework Security

See Also

Reference

Span Structure

Microsoft.VisualStudio.Text Namespace