Partager via


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 with get
function get Length () : int

Property Value

Type: Int32
The length of the span, which is always non-negative.

.NET Framework Security

See Also

Reference

Span Structure

Microsoft.VisualStudio.Text Namespace