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
'宣言
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
- 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.