Partilhar via


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

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

Return Value

Type: System.String
The text of the line.

.NET Framework Security

See Also

Reference

ITextSnapshotLine Interface

Microsoft.VisualStudio.Text Namespace