IDkmScriptDocumentProvider.GetContent 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.
Provides the current content of the specified document object.
public:
System::String ^ GetContent(Microsoft::VisualStudio::Debugger::Script::DkmScriptDocument ^ scriptDocument, bool enableContentEvents, [Runtime::InteropServices::Out] cli::array <System::UInt32> ^ % sectionDividers);
public string GetContent (Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument scriptDocument, bool enableContentEvents, out uint[] sectionDividers);
public string GetContent (Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument scriptDocument, bool enableContentEvents, out uint[]? sectionDividers);
abstract member GetContent : Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument * bool * UInt32[] -> string
Public Function GetContent (scriptDocument As DkmScriptDocument, enableContentEvents As Boolean, ByRef sectionDividers As UInteger()) As String
Parameters
- scriptDocument
- DkmScriptDocument
[In] Represents a document which is executing in a script runtime environment. For example, the Microsoft JavaScript engine.
- enableContentEvents
- Boolean
[In] If true, the script document provider should raise events when the content of this document changes. Passing true is equivalent to calling SetRaiseContentEvents(true). If false, the RaiseContentEvent state remains the same.
- sectionDividers
- UInt32[]
[Out] For aggregate documents (DkmScriptDocumentFlags.AggregateDocument is set), this is the 1-based line numbers for where the section dividers should be drawn. For standard documents, an empty array is returned.
Returns
[Out] The current content of this document.