Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets text from the snapshot starting at the beginning of the span and having a length equal to the length of the span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Function GetText ( _
span As Span _
) As String
string GetText(
Span span
)
String^ GetText(
Span span
)
abstract GetText :
span:Span -> string
function GetText(
span : Span
) : String
Parameters
span
Type: Microsoft.VisualStudio.Text.SpanThe span to return.
Return Value
Type: System.String
A non-null string.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The end of the span is greater than Length. |
.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.