EditSpan::LineCount Property

 

Returns the number of lines in the replacement text.

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

public:
property int LineCount {
	int get();
}

Property Value

Type: System::Int32

Returns the number of lines in the replacement text.

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

Return to top
Show: