Source::GetText Method (TextSpan)

 

Gets the text included in the text span.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
String^ GetText(
	TextSpan span
)

Parameters

span
Type: Microsoft.VisualStudio.TextManager.Interop::TextSpan

A TextSpan structure, which defines a block of text.

Return Value

Type: System::String^

The text included in the text span.

Return to top
Show: