Share via


ISymUnmanagedReader::GetMethodFromDocumentPosition Method

Returns the method that contains the breakpoint at the given position in a document.

HRESULT GetMethodFromDocumentPosition (
    [in]  ISymUnmanagedDocument*  document,
    [in]  ULONG32  line,
    [in]  ULONG32  column,
    [out, retval] ISymUnmanagedMethod**  pRetVal);

Parameters

  • document
    [in] The specified document.

  • line
    [in] The line of the specified document.

  • column
    [in] The column of the specified document.

  • pRetVal
    [out] A pointer to the address of a ISymUnmanagedMethod Interface object that represents the method containing the breakpoint.

Return Value

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

Requirements

Header: CorSym.idl, CorSym.h

See Also

Reference

ISymUnmanagedReader Interface