ITextSnapshotLine.GetText Method
Gets the text of the line, excluding any line break characters.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Function GetText As String
string GetText()
String^ GetText()
abstract GetText : unit -> string
function GetText() : String
Return Value
Type: String
The text of the line.
.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.