SnapshotSpan.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
- 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.