此接口表示文本文档。
IDebugDocumentText2 : IDebugDocument2
实现者说明
它需要提供时的调试引擎 (DE)实现此接口,当源代码以文本形式。 因为这是最典型的情况,因此,如果 DE implements IDebugDocument2 接口,它还应当实现 IDebugDocumentText2 接口。
调用方的说明
使用 QueryInterface 方法从 IDebugDocument2 接口的此接口。
方法按 Vtable 顺序
除了在 IDebugDocument2 接口的方法之外,此接口执行以下方法:
方法 |
说明 |
---|---|
检索文本的范围在文档中的该位置。 |
|
文档中的指定位置检索文本。 |
备注
对象实现此接口还必须实现 IConnectionPointContainer 接口,提供 IDebugDocumentTextEvents2 对象的 IConnectionPoint 接口。
要求
标题:msdbg.h
命名空间:Microsoft.VisualStudio.Debugger.Interop
程序集:Microsoft.VisualStudio.Debugger.Interop.dll