DkmScriptDocument.OnContentInsert(DkmTextSpan, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.