다음을 통해 공유


EditSpan.LineCount Property

Returns the number of lines in the replacement text.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

‘선언
Public ReadOnly Property LineCount As Integer
    Get
‘사용 방법
Dim instance As EditSpan
Dim value As Integer

value = instance.LineCount
public int LineCount { get; }
public:
property int LineCount {
    int get ();
}
member LineCount : int
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.

.NET Framework Security

See Also

Reference

EditSpan Class

EditSpan Members

Microsoft.VisualStudio.Package Namespace