EditSpan Constructor (TextSpan, String^)

 

Initializes a new instance of the EditSpan class.

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

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.

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

Return to top
Show: