Muokkaa

Jaa


ISymUnmanagedENCUpdate::GetLocalVariableCount Method

Gets the number of local variables.

Syntax

HRESULT GetLocalVariableCount(  
    [in]  mdMethodDef  mdMethodToken,  
    [out] ULONG        *pcLocals);  

Parameters

mdMethodToken
[in] The metadata token of methods.

pcLocals
[out] A pointer to a ULONG32 that receives the size, in characters, of the buffer required to contain the number of local variables.

Return Value

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

Requirements

Header: CorSym.idl, CorSym.h

See also