Compartilhar via


ITextSnapshotLine.GetLineBreakText Method

Gets the string consisting of the line break characters (if any) at the end of the line.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaração
Function GetLineBreakText As String
string GetLineBreakText()
String^ GetLineBreakText()
abstract GetLineBreakText : unit -> string 
function GetLineBreakText() : String

Return Value

Type: System.String
The string.

Remarks

This method returns a zero-length string for the last line in the buffer.

.NET Framework Security

See Also

Reference

ITextSnapshotLine Interface

Microsoft.VisualStudio.Text Namespace