ISymUnmanagedReader2::GetMethodsInDocument Method

Gets every method that has line information in the provided document.

Syntax

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

Parameters

document
[in] A pointer to the document.

cMethod
[in] A ULONG32 that indicates the size of the pRetVal array.

pcMethod
[out] A pointer to a ULONG32 that receives the size of the buffer required to contain the methods.

pRetVal
[out] A pointer to the buffer that receives the methods.

Return Value

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

Requirements

Header: CorSym.idl, CorSym.h

See also