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