ITextSnapshot.GetText Method

Gets all the text in the snapshot.

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
A non-null string.

.NET Framework Security

See Also

Reference

ITextSnapshot Interface

GetText Overload

Microsoft.VisualStudio.Text Namespace