Returns the document context associated with this code context.
Syntax
HRESULT GetDocumentContext(
IDebugDocumentContext** ppsc
);
Parameters
ppsc
[out] The document context associated with this code context.
Return Value
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. |
Remarks
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.