EditSpan::Span Property

 

Determines the span to be replaced.

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

public:
property TextSpan Span {
	TextSpan get();
	void set(TextSpan value);
}

Property Value

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

Returns a TextSpan object describing the span to be replaced.

An insertion or deletion operation can be described in terms of a replacement operation. A deletion replaces a non-empty span with an empty string while an insertion replaces an empty span with text.

Return to top
Show: