Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
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