Share via


IDebugDocumentContext2::Seek

Moves the document context by a given number of statements or lines.

HRESULT Seek( 
   int                      nCount,
   IDebugDocumentContext2** ppDocContext
);
int Seek( 
   int                        nCount,
   out IDebugDocumentContext2 ppDocContext
);

Parameters

  • nCount
    [in] The number of statements or lines to move ahead, depending on the document context.

  • ppDocContext
    [out] Returns a new IDebugDocumentContext2 object with the new position.

Return Value

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

See Also

Reference

IDebugDocumentContext2