Edit

Share via


IDebugDocumentPosition2::GetDocument

Gets the containing document.

Syntax

int GetDocument( 
   out IDebugDocument2 ppDoc
);

Parameters

ppDoc
[out] Returns an IDebugDocument2 object that represents the document containing this position.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See also