Share via


EditSpan.Span Property

Determines the span to be replaced.

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

Syntax

'Declaration
Public Property Span As TextSpan
'Usage
Dim instance As EditSpan 
Dim value As TextSpan 

value = instance.Span

instance.Span = value
public TextSpan Span { get; set; }
public:
property TextSpan Span {
    TextSpan get ();
    void set (TextSpan value);
}
public function get Span () : TextSpan 
public function set Span (value : TextSpan)

Property Value

Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
Returns a TextSpan object describing the span to be replaced.

Remarks

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.

.NET Framework Security

See Also

Reference

EditSpan Class

EditSpan Members

Microsoft.VisualStudio.Package Namespace