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
'Déclaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.