Share via


ISymUnmanagedReader::GetMethodsFromDocumentPosition Method

Returns an array of methods, each of which contains the breakpoint at the given position in a document.

HRESULT GetMethodsFromDocumentPosition (
    [in]  ISymUnmanagedDocument* document,
    [in]  ULONG32 line,
    [in]  ULONG32 column,
    [in]  ULONG32 cMethod,
    [out] ULONG32* pcMethod,
    [out, size_is (cMethod),
        length_is (*pcMethod)] ISymUnmanagedMethod* pRetVal[]);

Parameters

  • document
    [in] The specified document.

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

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

  • cMethod
    [in] The size of the pRetVal array.

  • pcMethod
    [out] A pointer to a variable that receives the number of elements returned in the pRetVal array.

  • pRetVal
    [out] An array of pointers, each of which points to an ISymUnmanagedMethod object that represents a method containing the breakpoint.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedReader Interface