IDebugDisassemblyStream2::GetDocument
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Gets the source document associated with this input stream.
Syntax
HRESULT GetDocument(
BSTR bstrDocumentUrl,
IDebugDocument2** ppDocument
);
int GetDocument(
string bstrDocumentUrl,
out IDebugDocument2 ppDocument
);
Parameters
bstrDocumentUrl
[in] The document URL.
ppDocument
[out] Returns an IDebugDocument2 object representing the document.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
This method is implemented by debug engines that have text documents that are not stored in an actual file.