다음을 통해 공유


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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

‘선언
Public Sub New ( _
    toReplace As TextSpan, _
    insertText As String _
)
public EditSpan(
    TextSpan toReplace,
    string insertText
)

Parameters

  • insertText
    Type: System.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