Muokkaa

Jaa


ISymUnmanagedMethod::GetSourceStartEnd Method

Gets the start and end document positions for the source of this method. The first array position is the start, and the second array position is the end.

Syntax

HRESULT GetSourceStartEnd(  
    [in]  ISymUnmanagedDocument  *docs[2],  
    [in]  ULONG32                lines[2],  
    [in]  ULONG32                columns[2],  
    [out] BOOL                   *pRetVal);  

Parameters

docs
[in] The starting and ending source documents.

lines
[in] The starting and ending lines in the corresponding source documents.

columns
[in] The starting and ending columns in the corresponding source documents.

pRetVal
[out] true if positions were defined; otherwise, false.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl, CorSym.h

See also