Share via


DkmScriptDocument.OnContentRemove(DkmTextSpan, Int32) Method

Definition

Raises a ScriptDocumentContentRemove event. The script document provider will only raise this event if events have been enabled for this document.

This method may only be called by the component which created the object.

public:
 void OnContentRemove(Microsoft::VisualStudio::Debugger::Symbols::DkmTextSpan Span, int CharsToRemove);
public void OnContentRemove (Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan Span, int CharsToRemove);
member this.OnContentRemove : Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan * int -> unit
Public Sub OnContentRemove (Span As DkmTextSpan, CharsToRemove As Integer)

Parameters

Span
DkmTextSpan

[In] The text span of the removed text. For aggregate documents (DkmScriptDocumentFlags.AggregateDocument is set), this must start at the begging of a line, and correspond to a previously added section.

CharsToRemove
Int32

[In] Number of characters within the section to remove.

Applies to