Share via


ISymUnmanagedENCUpdate::GetLocalVariableCount Method

Gets the number of local variables.

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

See Also

Reference

ISymUnmanagedENCUpdate Interface