DkmScriptDocument.OnContentInsert(DkmTextSpan, String) Method

Definition

Raises a ScriptDocumentContentInsert 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 OnContentInsert(Microsoft::VisualStudio::Debugger::Symbols::DkmTextSpan Span, System::String ^ NewText);
public void OnContentInsert (Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan Span, string NewText);
member this.OnContentInsert : Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan * string -> unit
Public Sub OnContentInsert (Span As DkmTextSpan, NewText As String)

Parameters

Span
DkmTextSpan

[In] The text span of the inserted text. For aggregate documents (DkmScriptDocumentFlags.AggregateDocument is set), this must start on a new line, and at at the end of a line immediately before a new section would begin.

NewText
String

[In] The new text content which is inserted into the document.

Applies to