Share via


DkmScriptDocument.GetContent(Boolean, UInt32[]) Method

Definition

Provides the current content of the specified document object.

public:
 System::String ^ GetContent(bool EnableContentEvents, [Runtime::InteropServices::Out] cli::array <System::UInt32> ^ % SectionDividers);
public string GetContent (bool EnableContentEvents, out uint[] SectionDividers);
member this.GetContent : bool * UInt32[] -> string
Public Function GetContent (EnableContentEvents As Boolean, ByRef SectionDividers As UInteger()) As String

Parameters

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.

Applies to