Share via


EditSpan Constructor

Initializes a new instance of the EditSpan class.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    toReplace As TextSpan, _
    insertText As String _
)
public EditSpan(
    TextSpan toReplace,
    string insertText
)
public:
EditSpan(
    TextSpan toReplace, 
    String^ insertText
)
new : 
        toReplace:TextSpan * 
        insertText:string -> EditSpan
public function EditSpan(
    toReplace : TextSpan, 
    insertText : String
)

Parameters

  • insertText
    Type: String

    [in] The text to insert/replace.

Remarks

See the Remarks section of the EditSpan class for a description of how to specify the different edit operations.

.NET Framework Security

See Also

Reference

EditSpan Class

Microsoft.VisualStudio.Package Namespace