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
'Declaración
Public Sub New ( _
toReplace As TextSpan, _
insertText As String _
)
public EditSpan(
TextSpan toReplace,
string insertText
)
Parameters
- toReplace
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
[in] A TextSpan object describing the span to affect.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.