Udostępnij za pośrednictwem


IDkmScriptDocumentProvider Interface

Definition

Implemented by components which create DkmScriptDocument objects in order to provide document content and notifications when the content changes.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: BaseDebugMonitorId, EngineId, RuntimeId, SymbolProviderId.

public interface class IDkmScriptDocumentProvider
public interface class IDkmScriptDocumentProvider
__interface IDkmScriptDocumentProvider
public interface IDkmScriptDocumentProvider
type IDkmScriptDocumentProvider = interface
Public Interface IDkmScriptDocumentProvider

Methods

GetContent(DkmScriptDocument, Boolean, UInt32[])

Provides the current content of the specified document object.

SetRaiseContentEvents(DkmScriptDocument, Boolean)

Enables or disables raising events when the content of the document is changed. By default, documents do not generate content events. So this method should be called by any component that wishes to receive content events. The script document manager maintains a count of the number of calls to enable content events, and will raise events whenever this count is greater than 0. Callers should take care to ensure that SetRaiseContentEvents(false) is called ONLY after a successful call to SetRaiseContentEvents(true). Content events are automatically disabled when the document is unloaded.

Applies to