Share via


EditSpan.LengthOfLastLine Property

Returns the length of the last line in the replacement text.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public ReadOnly Property LengthOfLastLine As Integer
'Usage
Dim instance As EditSpan 
Dim value As Integer 

value = instance.LengthOfLastLine
public int LengthOfLastLine { get; }
public:
property int LengthOfLastLine {
    int get ();
}
public function get LengthOfLastLine () : int

Property Value

Type: System.Int32
Returns the number of characters on the last line of the replacement text.

Remarks

This property examines the replacement text, taking into account newlines, to calculate the length of the last line.

.NET Framework Security

See Also

Reference

EditSpan Class

EditSpan Members

Microsoft.VisualStudio.Package Namespace