EditSpan.LineCount Property

Returns the number of lines in the replacement text.

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

Syntax

'宣言
Public ReadOnly Property LineCount As Integer
'使用
Dim instance As EditSpan
Dim value As Integer

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

Property Value

Type: System.Int32

Returns the number of lines in the replacement text.

Remarks

This property examines the replacement text, taking into account newlines, to calculate the number of lines.

Permissions

See Also

Reference

EditSpan Class

EditSpan Members

Microsoft.VisualStudio.Package Namespace