Share via


IDebugDocumentContext2::Seek

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

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

Syntax

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

IDebugDocumentContext2