Partager via


SnapshotSpan.GetText Method

The text contained by this snapshot span.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Déclaration
Public Function GetText As String
public string GetText()
public:
String^ GetText()
member GetText : unit -> string 
public function GetText() : String

Return Value

Type: System.String
A non-null string.

.NET Framework Security

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace