Returns the document context associated with this code context.
HRESULT GetDocumentContext( IDebugDocumentContext** ppsc );
- ppsc
[out] The document context associated with this code context.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
For text documents, the character-position range should include the text for the entire statement. This allows the debugger IDE to highlight the current source statement.